Drowning in email? Try Inbox Zero to learn sane tips for dealing with high-volume email. And don’t miss the free Inbox Zero video. »
Register for free on 43 Folders to comment on articles, post to our forum, customize your visits, and much more. Current users can login now.
Vi commands in all your Cocoa apps
Merlin Mann | Feb 5 2007
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.
Reminds me it’s about time for another round of trying to learn Vim. [ via: Vi Input Manager - The Unofficial Apple Weblog (TUAW) ] 19 Comments
POSTED IN:
![]() I just tried using it...Submitted by Fred (not verified) on February 5, 2007 - 10:12am.
I just tried using it again, and it doesn’t even implement yank! And that’s a command firmly in the “changing a keybinding” set. Using multipliers in any way outside of the grammar described on his website totally fails — you can’t do ‘2dw’, only ‘d2w’. I think I could actually mistake this for a congealed salad. » POSTED IN:
![]() Sadly, this is still missing...Submitted by jeff (not verified) on February 5, 2007 - 6:22am.
Sadly, this is still missing some of the features I find as key. Like ( and ) for forward and backward by sentence. That’s great, useful stuff, but sadly missing here. It’s probably trivial to add, but I’ve got many higher items on my list than fiddle with key bindings to make vim work in Safari, alas. » POSTED IN:
Not even a ghost's shadow,...Submitted by Merlin Mann on February 5, 2007 - 8:41am.
Not even a ghost’s shadow, Fred? Not even the shadow of an actual freaking ghost? Damn. A ghost, mind you. With a shadow. Not this. But, seriously, if this plugin were standing, nude, in front of like 150 longtime Vi users, it would be so disturbingly “not-like-Vi” that it might actually be mistaken for — what? — maybe a congealed salad or a copy of Meet the Beatles or a slightly dented Toyota Tercel? I mean, truly, then yes: it is that unacceptably bad as to render me without modern human speech. It would, in fact, be so opposite of every. thing. that Vi is capable of doing that it could more properly be called “The Opposite of Vi” or perhaps “Null Vi Not Vi ever never Not Doodley Doing Vee Eye.” There are no words. Clearly. Not even a ghost’s. shadow. Wow. I mean. Wow. That is indeed pointless, Fred, and 43 Folders regrets the error. » POSTED IN:
![]() This implements such a simplistic...Submitted by Fred (not verified) on February 5, 2007 - 8:25am.
This implements such a simplistic subset of functionality as to be pointless. Everything you can use it for has an easy and obvious existing shortcut without the pointless modality. All it’s doing is changing the existing keybindings when you enter command mode. It implements no new functionality. This isn’t even a ghost’s shadow of vi. » POSTED IN:
![]() Merlin, you don't know vi....Submitted by Fred (not verified) on February 5, 2007 - 10:03am.
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. » POSTED IN:
![]() Vi command image: http://www.viemu.com/a_vi_vim_graphical_cheat_Submitted by Levi (not verified) on February 5, 2007 - 9:25am.
Vi command image: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html » POSTED IN:
![]() You made it sound like...Submitted by a different Travis (not verified) on February 5, 2007 - 6:08pm.
You made it sound like I was going to be able to navigate around webpages with vi commands. I have been wanting that for a long time now. I could kill somebody. » POSTED IN:
![]() The To-Do List Maze... I've started...Submitted by parlay (not verified) on February 5, 2007 - 9:08am.
The To-Do List Maze… I’ve started using this notepad I have to make elaborate To-Do lists every day. This is at once satisfying and hearbreaking. After a certain amount of effort and struggle I get to cross something off the list (“check flagged emails”…… » POSTED IN:
![]() ^^Pwnd! Does anyone know of a...Submitted by Travis (not verified) on February 5, 2007 - 8:49am.
^^Pwnd! Does anyone know of a desktop background image that has all of Vim’s commands? » POSTED IN:
![]() Is there really any point...Submitted by Travis (not verified) on February 5, 2007 - 8:55am.
Is there really any point in learning Vim when you know Textmate? » POSTED IN:
![]() The main thing I'd want...Submitted by mithras (not verified) on February 5, 2007 - 4:56am.
The main thing I’d want from it would be a quick :s/foo/bar/, but it looks like ‘w’ is the only : command implemented so far… » POSTED IN:
![]() Ahhhhhhhh.... blessed relief at last! ...Submitted by FARfetched (not verified) on February 5, 2007 - 5:30am.
Ahhhhhhhh…. blessed relief at last! » POSTED IN:
![]() I've been praying for this...Submitted by TC! (not verified) on February 5, 2007 - 5:40am.
I’ve been praying for this for years, hallelujah! » POSTED IN:
![]() I saw this earlier this...Submitted by Ignobilitor (not verified) on February 5, 2007 - 2:26am.
I saw this earlier this week and pounced on it; however, not all Cocoa editors can take advantage of this. Much to my dismay, I’ve learned that TextMate is one of those that can’t, since it doesn’t use the standard cocoa texfield. Smultron works, though… » POSTED IN:
![]() I tried this, but being...Submitted by AmberV (not verified) on February 7, 2007 - 2:24am.
I tried this, but being a long time user of Vim, I found the limited commands to be more frustrating that useful. Moving the cursor around, doing simple things like that — well that is just the way it was in Vi, it doesn’t really add anything to the Cocoa experience. It is the stuff that no other text editor on earth can do in 10 keystrokes that makes Vim as awesome as it is — and this fails the grade at that. » POSTED IN:
![]() You can check out the...Submitted by Ara (not verified) on February 5, 2007 - 10:43pm.
You can check out the cheat-sheets for VI: http://www.viemu.com/avivimgraphicalcheatsheettutorial.html » POSTED IN:
![]() For all your key-binding needs,...Submitted by David (not verified) on February 6, 2007 - 8:10am.
For all your key-binding needs, consult: http://www.hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System.html Let’s just say that it’ll blow your friggin gourd. » POSTED IN:
![]() "Is there really any point...Submitted by Kevin (not verified) on February 7, 2007 - 12:11pm.
“Is there really any point in learning Vim when you know Textmate?” Yes. Faster, cheaper, way more powerful, works anywhere. I gave Textmate a whirl but vim owns it. » POSTED IN:
![]() [...] Share This [...] ...Submitted by Blog Mirrors » Vi commands in all your Cocoa apps (not verified) on February 7, 2007 - 4:59pm.
[…] Share This […] » POSTED IN:
About Merlin MannBio Merlin Mann is an independent writer, speaker, and broadcaster. He’s best known for being the guy who started the website you’re reading right now. He lives in San Francisco, does lots of public speaking, and helps make cool things like You Look Nice Today. Also? He looks like this, answers questions, and has something like a life. |
|
| EXPLORE 43Folders | THE GOOD STUFF |