3 ms·
Map to "jj" and call it a day since your finger is already on the home row Also ctrl + [ is standard terminal/ascii for esc so that might be a bit more ergonom
by tommy_axle 5mo ago
Map to "jj" and call it a day since your finger is already on the home row
Also ctrl + [ is standard terminal/ascii for esc so that might be a bit more ergonomic than reaching for esc
- cassepipe 5mo agoYes but then you get used to jj (or jk) which might not be available on other vi modes (shells vi modes, gdb, glide browser ?) and it's overall quite nice to quickly escape any situation by having the key be closer. Ctrl + [ would be acceptable if it wasn't, imo, the most important function of the editor. EDIT: My bad, you can do it with Glide apparently
- tern 5mo agoI've yet to come across something with vim bindings that lacks a .vimrc where you can map 'jk'. Either way, switching back to ESC is as annoying as it is in the first place.
- cassepipe 5mo agoWell I have given at least one example. Do you not use bash/zsh/fish/nushell vi modes ?
- mmahemoff 5mo agoClaude's vim bindings don't support ESC mapping, unfortunately for muscle memory. https://github.com/anthropics/claude-code/issues/25306 https://github.com/anthropics/claude-code/issues/25306
- tern 5mo ago"jk" is even faster (you get to "roll" your fingers)
- qu4z-2 5mo agoAnd keeps you on the same line unless it was the last one, if you were already in normal mode.