5 ms·
I hit Esc without looking about 500 times a day. As does nearly every Vim user in existence, I imagine.
by jperras 10y ago
I hit Esc without looking about 500 times a day. As does nearly every Vim user in existence, I imagine.
- ikawe 10y agos/day/hour
- eric_h 10y agoHaha, yeah - 500/day definitely seemed low to me
- jperras 10y agoTo be honest, my ratio is probably more like 750/hour, considering that I do 100% of my work in terminal windows, use nvim as my main code editor, use a tiling window manager (whose keybindings include escape for some sequences), use mutt for email, newsbeuter for rss feeds, weechat for irc… I just didn't want to seem overly hyperbolic in my original post :)
- eric_h 10y agoNot a vim user (but I know how to use it-ish). The escape key as the key in vim always struck me as an odd choice, ergonomically. Of course, I've mapped ctrl to the caps lock key, so...
- vacri 10y agoThe original vi was created on a keyboard that had Esc in the place where CapsLock now lives (on a standard US or UK English 104-key keyboard)
- phaemon 10y agoThe original `vi` was written on an ADM-3A terminal. If you have a look at the keyboard layout https://en.wikipedia.org/wiki/ADM-3A#/media/File:KB_Terminal_ADM3A.svg https://en.wikipedia.org/wiki/ADM-3A#/media/File:KB_Terminal... You can not only see why Esc was easy to hit, but also the arrow keys (and, in common with other terminals of the time, why "home" is "~")
- x0x0 10y ago^[ will change your life -- you don't have to move your left hand up to hit the escape key!
- jperras 10y agoI've considered it, but I've spent the last ~10 years of my life learning and using Vim with esc ingrained into my brain. I've managed to retrain some combinations by sheer force of will and major effort, but I think I might be too far down the rabbit hole for Esc.
- Veen 10y agoI've been trying out jj as escape, but I keep forgetting to use it.
- jperras 10y agoIMO that's a terrible escape sequence.
- Veen 10y agoI agree for the most part. But on the Mac keyboard the Escape key is tiny and way off the home row. C-[ is awkward and there's only a small control key in the left side so I miss it all the time (my pinkies aren't good at hitting the right key for some reason.) I've remapped Caps Lock to Control and that's working out better.