News for hackers. Stuff that matters.
Re:Vim: revisited by cpeterso on Sunday December 11, 2011 @09:27PM (#3341970)
I agree about accepting (most) standard key bindings, but here are two clever bindings I adopted:

  " Enter command mode with SPACE instead of :
  noremap <Space> :

  " Exit insert mode with jj (double J) instead of ESC
  imap jj <Esc>
Re:Vim: revisited by tednaleid on Sunday December 11, 2011 @10:22PM (#3342110)
I used jj for a while as well, but once I found out that ctrl-C did the same thing out of the box, that became my "esc" key> (it's also important to remap caps lock to control, on the mac its easy: System Preferences->Keyboard->Keyboard->Modifier Keys)
Re:Vim: revisited by graywh on Sunday December 11, 2011 @10:26PM (#3342119)
Note: that isn't exactly the same--using Esc will trigger InsertLeave autocommands, Ctrl-C will not.
Re:Vim: revisited by t-crayford on Monday December 12, 2011 @05:43AM (#3343120)
imap <c-c> <esc>

Now it does.

Re:Vim: revisited by edanm on Monday December 12, 2011 @04:33AM (#3342965)
As graywh says, ctrl-c is not the exact same as escape. If you want something standard which is, try ctrl-[. Harder to type, I know.
Re:Vim: revisited by lywald on Monday December 12, 2011 @04:32AM (#3342961)
What about changing hjkl movements to jkl;? I didn't try it yet... But hjkl bothers me. My index belongs on j, for homerow touch typing, not h. Wouldn't it be an improvement? Not having to move the hand for movements. I must be missing something because everyone stays with hjkl.
Re:Vim: revisited by edanm on Monday December 12, 2011 @04:36AM (#3342976)
The keys I use most are up/down. I tend to move between lines more often than I move between characters. This is true in any editor, but especially in vim, since I almost never move between individual characters, but rather use [w]ord movement commands, or [f] commands, etc.

That's why it makes sense that my strongest fingers are on the up/down motions, whereas to move to the left, a movement I never make, is off to the side.

Also, I wouldn't remap it for practical reasons - hjkl is a standard implemented in many places.

Re:Vim: revisited by stevelosh on Monday December 12, 2011 @09:45AM (#3343644)
I did this for about two months before switching back to hjkl. There are two reasons why I switched back:

* I like using "Ctrl+Direction" to move around splits, and mapping Ctrl+; on a Mac doesn't work without some Keyremap4Macbook trickery. It's a pain to get working.

* Tons of other stuff uses Vim bindings, and you can't usually remap keys in most other programs.

Re:Vim: revisited by t-crayford on Monday December 12, 2011 @05:41AM (#3343113)
I'm much faster in vim since I gave up (for the most part) on hjkl (arrow keys are banned for obvious badness). / ? # * combined with f and t are so much faster. The only time I use j/k is 10j/10k for looking through files.

Hence, your question is somewhat misguided ;)

Re:Vim: revisited by johntyree on Monday December 12, 2011 @06:38AM (#3343216)
And what country is your keyboard from?

Unless you mean you specifically use search for every motion...?

Re:Vim: revisited by t-crayford on Monday December 12, 2011 @11:22AM (#3343933)
I use colemak now, but this holds true in qwerty as well (most of the time). I don't use search for EVERYTHING, just most of the time it's faster.
Re:Vim: revisited by NARKOZ on Monday December 12, 2011 @12:22AM (#3342415)
don't forget about:

  let mapleader = ","
it remaps <leader> to ',' instead of '\'
Re:Vim: revisited by finnw on Sunday December 11, 2011 @09:54PM (#3342035)
I use backspace as a substitute for ESC. I find ESC awkward to locate while typing, but backspace is easy.