Hacker News new | ask | show | jobs
by antouank 3173 days ago
So most people re-bind Esc to something else. Then why is Esc the default "Esc" in vim? Shouldn't it be something else?

And for those who use caps-lock, how do you deal with getting uppercase letters depending on how many times you pressed caps-lock? Sounds impractical to me. Every "Esc" you hit will change to uppercase/lowercase. Right?

1 comments

You rebind caps lock at the window manager level, not at the vim level. This disables it completely. This is actually a good idea whether or not you use it for escape. Hitting caps lock by mistake while in normal mode will make nearly every command do something different, sometimes only slightly, sometimes in destructive ways.