Email or username:

Password:

Forgot your password?
retiolus

For me, the worst key on #Vim is ESC, it's so fucking far away and we need it so badly!

6 comments
Adriano

@retiolus A common alternative, and one I use, is
- swap caps lock and left control on your keyboard map (this is optional, but much more comfortable to me)
- use control-c instead of Esc.

Hugo ι›¨ζžœ

@retiolus The typical solution is to remap CapsLock to Esc. If memory serves me right, the guy who initially wrote Vi had a keyboard with Esc exactly there.

clunybrown :fish_shell: :kde:

@retiolus
I've got this keybinding on my :neovim: config, it works for me.

vim.keymap.set("i", "jj", "<ESC>")

or

vim.keymap.set('i', 'jk', '<ESC>')

Tiberiu Ichim

@retiolus I don't mind it at all. On a large (normal) keyboard the Esc key is so isolated that it's easy to hit with any part of the finger, even the edge of the hand. Also, I keep the hands to the left side of the keyboard (no arrow keys, pgup/pgdn, etc). So, 3-4cm is not that far away...

Tim Boucher

@retiolus I usually use Ctrl+[ which is the same as Esc. It’s two keys but on opposite hands. Works fantastically for me.
I know some add custom keyboard configuration like making Ctrl act as Esc if released immediately, but that may not work for everyone.

Go Up