4 ms·
I had no idea you could use C-[ as ESC
by cypres 10y ago
I had no idea you could use C-[ as ESC
- Theodores 10y agoI wonder how many vim users have tried using CTRL + [ for the first time today. Muscle memory being what it is I fully expect that nobody will swap over to this new and improved Apple way of pressing the Escape key.
- 3chelon 10y agoAnd vi too - works just fine, but you have a valid point about muscle memory, which is pretty much the only kind of memory many of us have left when it comes to vi-like editors, since the key sequences disappeared from our brains decades ago!
- mst 10y agoMuch to my surprise, after I was forced by circumstances to use Ctrl+[ for a month or so, I found I didn't actually want to go back to Esc. Had it only been a week or two I suspect my muscle memory wouldn't've shifted though.
- mrweasel 10y agoIt's also a kinda crappy alternative, because it's not possible on a large number of non-English keyboard. Ctrl+c is also an option, although I think there's a slight difference.
- uw_rob 10y agoI am on Windows and it seems that not every program accepts C-[ as ESC. However Vim in Cygwin does accept it as ESC.
- seanmcdirmid 10y agoThat is kind of cool! It is much easier to hit then ESC all the way up in the northwest corner of my keyboard.