ViMate
Download the latest dmg from Sourceforge.
So the story goes that this is the best I can do without spending weeks neck deep in class-dump (again) writing tons of code that will be obsolete as soon as TextMate V2.0 comes out. I've been waiting patiently for TextMate V2.0 for a long long time and I keep hearing that it's just a few months away. Once it finally comes out (assuming I haven't died of old age) I intend to flush this plugin out into something that truly qualifies as a vi emulator.
To answer your questions about whether this is being maintained, as of now, November 4th, 2009 it is still being maintained. I actually added a new feature that someone requested just a few months ago. And I intend to continue maintaining it for the foreseeable future because vi is the mac daddy of editors, yet TextMate is the editor I use. I still use this plugin daily and get about a hundred downloads a month.
I'll warn you that things get funky near the end of file and the end of line and word movement is a crap-shoot without rhyme or reason. There is nothing I can do about this until I'm able to implement my own movement functions (i.e. until TextMate V2.0).
Commands Implemented
Movement- h
- left
- j
- down
- k
- up
- l
- right
- w
- word forward
- b
- word backward
- e
- end of word forward
- 0
- beginning of line
- $
- end of line
- gg
- top of document
- G
- end of document
- i
- insert
- I
- insert at beginning of line (doesn't respect indenting)
- a
- append
- A
- append to end of line
- o
- insert line below (doesn't respect indenting)
- O
- insert line above (doesn't respect indenting)
- c+(?)
- change
- cc
- change line
- C
- change to end of line
- d+(?)
- cut
- dd
- cut line
- D
- cut to end of line
- y+(?)
- copy
- yy
- copy line
- x
- cut character forward (or cut selection)
- X
- cut character backward (or cut selection)
- p
- paste after or below (or replace selection)
- P
- paste before or above (or replace selection)
- Ctrl+u
- scroll half page up (broken)
- Ctrl+d
- scroll half page down (broken)
- Ctrl+b
- scroll full page up
- Ctrl+f
- scroll full page down
- Ctrl+y
- scroll line up
- Ctrl+e
- scroll line down
- V
- highlight line
- v
- visual mode
- 1,2,3...
- repeat next command (buggy)