News for hackers. Stuff that matters.
Re:Vim clutch by orthecreedence on Thursday June 21, 2012 @02:10PM (#4143388)
I'm going to try this: inoremap jj <Esc>

I normally use C-c. Is there a way to make the time between j...j to be really short? Like the delay for it to count as a double press? I'd like to reduce any chance of accidental typing (although I can't see any reason I'd type "jj" a lot).

Re:Vim clutch by mattkirman on Thursday June 21, 2012 @02:25PM (#4143454)
You could probably try setting timeoutlen to something like 500 milliseconds (or whatever feels comfortable). Bear in mind though that this is a global setting.
Re:Vim clutch by weaksauce on Thursday June 21, 2012 @02:27PM (#4143470)
yes you can set the timeout delay to be something very small see :help timeoutlen. It defaults to 1000ms but you are free to change it. If you are typing in insert mode and you press j it will delay but if you press another key that is not bound to anything after j it will just insert the j and the other key.
Re:Vim clutch by grayrest on Thursday June 21, 2012 @02:24PM (#4143450)
The setting applies to all maps. :help timeoutlen