News for hackers. Stuff that matters.
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by drats on Thursday September 15, 2011 @09:37AM (#3000239)
Another great addition is: http://vim.wikia.com/wiki/Avoid_the_escape_key

Getting out of insert mode with a double j instead of moving your hand (esc) or doing the slightly awkward ctrl+[ is a godsend.

Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by qwertyboy on Thursday September 15, 2011 @09:45AM (#3000281)
Actually, Ctrl-c is the fastest way to get back to normal mode. Unlike Ctrl-[ and <Esc>, it does not check for abbreviations and does not trigger InsertLeave. And on most keyboards it's even easier to type.
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by pyre on Thursday September 15, 2011 @11:19AM (#3000686)
Ctrl-c is not always equivalent to <Esc>. For example, if you hit q: to get the command history editor, Ctrl-c will close that buffer, but <Esc> won't.
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by eridius on Thursday September 15, 2011 @03:00PM (#3001638)
Is not triggering InsertLeave a good thing or a bad thing?
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by sunkencity on Thursday September 15, 2011 @10:18AM (#3000425)
Wow. Thanks! That is fantastic. great tip.
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by obiterdictum on Thursday September 15, 2011 @09:43AM (#3000272)
Another good alternative is to remap the infrequently used Caps-Lock key to Esc (what Emacs users remapped to Control for ages). http://c2.com/cgi/wiki?RemapCapsLock
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by irahul on Thursday September 15, 2011 @10:49AM (#3000571)
I am an avid vimmer, but I sometimes use Emacs. I have capslock mapped to ESC, and it works well in emacs. I am pretty comfortable with C-{some_key}. It's the M-C-{some_key} that are a pain. ESC-C-{some_key} is what I use and since I have my capslock mapped, it's convenient.
Re:Heretical Confessions of an Emacs Addict – Joy of the Vim... by Nick_C on Saturday September 17, 2011 @01:03AM (#3007294)
I write a lot of shell scripts and C where $UPPER_CASE variables are common. Is it still worth remapping Caps-Lock? (The problem is it would be remapped system-wide, not just in Vim.)