News for hackers. Stuff that matters.
Re:Essential Vim by pssdbt on Monday June 28, 2010 @10:56PM (#1470232)
Or C-c.

Also pretty popular to remap capslock to esc, I tried it but never got used to it.

Re:Essential Vim by masterj on Monday June 28, 2010 @11:32PM (#1470291)
I have kj mapped to Esc here. Right on the home row, and almost never comes up in the english language.
Re:Essential Vim by steve19 on Tuesday June 29, 2010 @12:17AM (#1470380)
Can you explain how to do this?
Re:Essential Vim by bingaman on Tuesday June 29, 2010 @12:52AM (#1470433)
imap kj <Esc>
Re:Essential Vim by crazydiamond on Tuesday June 29, 2010 @05:03AM (#1470879)
A lot of folks map jj for ESC and uu for underscore. However, what this means is that on typing j or u, vim waits for the next keystroke before displaying or doing anything.

I can't remember where this used to hit me. Perhaps some abbreviation with u ?? I notice I've commented off "uu" but still have "jj".

I still go up and slam the ESC key after 20 years of vimming. How do i get into the habit of C-[ ?

Re:Essential Vim by sigzero on Tuesday June 29, 2010 @08:54AM (#1471196)
The habit is only formed by training. When I first started learning Vim I used the arrow keys for navigation. I recently null'd them out so the don't work. I couldn't do a damn thing. I still use the arrow keys.
Re:Essential Vim by steve19 on Sunday July 04, 2010 @06:48PM (#1486573)
thanks
Re:Essential Vim by vollmond on Tuesday June 29, 2010 @07:48AM (#1471062)
Here's a vote for the capslock/esc remap. I've got it as a global remap and have gotten used to it in other apps as well (canceling a dialog, for instance). Couldn't live without it.
Re:Essential Vim by Vitaly on Tuesday June 29, 2010 @07:57AM (#1471084)
I have capslock remapped globally to control on the OS level.