Hacker News new | ask | show | jobs
by kokwak 3514 days ago
I think Vim guy uses c-[ not esc
2 comments

Some do, some don't. Never underestimate the power of defaults.
ctrl+[ is a default, it's just not the default that everyone talks about. Every vim tutorial will tell you to hit esc for command mode, none of them even mention that ctrl+[ is an option.
I use imap kk <ESC>

Something so used needs to be on home row.

I just changed my caps lock key to escape. Life changing, highly recommend
I remap caps lock to ctrl and in Vim I use "jk" for esc in insert mode. Caps lock to ctrl is crazy useful outside of Vim since every other application has some basic support for Emacs bindings.
Another popular remap is a Karabiner option that enters Esc when Ctrl is tapped, and Ctrl when when used with another key. Rebind the Caps Lock key to Ctrl in System Preferences and you're in business.
xcape in Linux for this.
I use `jk` because you wouldn't need to worry about whether you're in normal mode or insert mode. Hitting `kk` or `jj` twice in normal mode will change your line position. But with `jk` I can blindly press them. Just a suggestion :)
So no akka for you (or bookkeepers, knickknacks, or Hanukkah)?
I have to pause, I think .5sec, to get second k.
I use I use imap jj <ESC>

Traitor.