Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Parent was saying they left emacs for pinky strain.

How can you use regular letters in place of ESC in vim? How would you type "Dijkstra"?



Just type jk slowly.

Also see [1]:

  :help timeoutlen
and

  :help ttimeoutlen
[1] - http://vimdoc.sourceforge.net/htmldoc/options.html#%27timeou...


Alternatively, you can type jjkak (insert a j, exit insert mode with cursor on the j, enter insert mode one character to the right, insert a k).


http://vim.wikia.com/wiki/Avoid_the_escape_key

See the 'jj' part in the 'Mappings' section.


Yeah, man. That shit freaked me out real bad. I also started eating salads and stopped hunching so much at the monitor.


Just like in the shell, anything prepended with Control+V will be input literally, so you can type Dij<C-v>kstra.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: