I typically just remap the escape key to capslock at the OS level. Even though it can through you off like you said, I still find it more convenient than key walks to generate an escape.
Why jk twice? I just use jk. Almost never appears in actual writing, and it makes vim much easier to use.
Dijkstra would disapprove (:
ctrl-[ is also equivalent to Esc
weird
I use <C-j> in insert mode (not to be confused with <C-j> in command mode, which jumps to the buffer below).
So you can't type sdf in your code?
You can type it... Just slowly
My combination is just kj.
I have jj in my .vimrc.
vf is the easiest-to-type two-letter sequence i could find that doesn't appear in any english word. other languages' mileages may, of course, vary. (and if some chavfucker wants to object, well...)
I use ;;
Not a lisp programmer, I take it.
Re:How I boosted my Vim
by telemachos on Monday September 13, 2010 @08:29PM
(#1688883)
I'm less learned: the first thing I thought was case branches in Bash scripts.
This would suck if one is also Dutch. We have kj appear rather frequently in words.
You can also use Ctrl-C to get out of insert mode.
Yes, but that's not equivalent to Esc, use this:
inoremap <C-c> <Esc>
That bypasses any InsertLeave autocmds.
Finally! A use for caps-lock
One big productivity boost for me was remapping the Escape key to something a little more convenient. I just remapped the ESC key altogether, but this can throw you off if you find yourself working at lots of different computers. If you prefer something less permanent, you can map a key sequence to ESC. I like this one, which maps 'sdf' to ESC if you're in insert mode:
jkjk is also a sequence I've seen used.