Hacker News new | ask | show | jobs
by randlet 3499 days ago
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?
1 comments

very possible! :cnoremap jk <C-C>
Whoo! Thank you very much!