Vi commands in all your Cocoa apps
Jason Corso - Vi Input Manager Plugin
Vi Input Manager seems like a godsend for Mac (or more accurately, Cocoa) users who have Vi commands permanently installed in their fingertips.
This bundle patches the Cocoa Text System to add a Vi-like command mode. After entering command-mode (typically, by hitting escape in Vi), ordinary Vi commands can be typed and the text field will be updated accordingly…
Right now, you should be thinking – “you mean the editor in XCode will behave like Vi?” Answer: Yes.
Reminds me it’s about time for another round of trying to learn Vim.
[ via: Vi Input Manager - The Unofficial Apple Weblog (TUAW) ]
- Merlin's blog
- 6969 reads
Merlin, you don't know vi....
Merlin, you don’t know vi. You’ve been halfheartedly trying to learn it for several years. You’re a fanboy of something you don’t even use.
All this implements is a few of the simplest movement and insertion commands as simple keybindings. In terms of actually trying to use it, it behaves completely differently from vi/vim. The way the multiplier works with movement is nowhere near as robust as the way it works in real vi. No s/foo/bar/g. No commands beyond :w, which just presses Command-S for you. Nothing that uses control or alt. None of the stuff that works while you’re in insert mode. None of the alternate input modes.
The only things that are implemented are things that map directly and easily to existing bindings. This isn’t vi, this is the scum of hair and skin cells left on a vi user’s razor.