Hacker News new | ask | show | jobs
by nilkn 3498 days ago
Following the lead of Spacemacs I remapped Esc in vim to "fd". It works surprisingly well and is extremely easy and fast to type.
1 comments

I use jk to exit from insert mode, but you still need an escape key to cancel actions when entering commands. For example if I type :wq and decide I actually don't want to quit, I still need to hit Esc to cancel. It would be nice if :wqjk (or :wqfd) would allow you to cancel but I don't think that's possible is it?
very possible! :cnoremap jk <C-C>
Whoo! Thank you very much!