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

This is avoidable if you use Ctrl-C instead of escape. It works identical to [esc] in all ways except one (the InsertLeave autocommand will not be triggered). If you remap Caps lock to Ctrl, you even get a more ergonomic way of escape, since you don't need to move your hand the way you would to press [esc].


Actually, ESC is also available as CTRL-[ If you have CTRL remapped to CAPS LOCK, then it's very simple to use.


Another difference: ctrl-c will cancel the count on an insert command.




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

Search: