4 ms·
"Unfortunately, without an escape key it’s not possible to leave insert mode. That’s why by default the backslash key (‘\’) is mapped to the ‘Esc’ key. You’re f
by nwest 15y ago
"Unfortunately, without an escape key it’s not possible to leave insert mode. That’s why by default the backslash key (‘\’) is mapped to the ‘Esc’ key. You’re free to overwrite this setting by unmapping the backslash key."
from http://applidium.com/en/applications/vim/support/ http://applidium.com/en/applications/vim/support/
- pdenya 15y agoThat's great for browsing but I can't picture coding in an editor where I need to stop and look for common command keys. At the moment vim is efficient because [esc]10dd or something but it's just not viable without a keyboard. For reviewing code or making quick edits however this could be incredible. I wonder if it supports plugins.
- stevelosh 15y agonnoremap jk <esc>
- cgag 15y agoIt's hard to believe there are people who regularly use vim and still use escape.
- rkowalick 15y agoRemapping caps lock to function as escape is pretty useful here.
- halostatue 15y agoWhy? It's quite convenient for my left-hand pinky on nearly every keyboard that I use, and I've picked up the habit of doing periodic `jk` movements as I'm examining some code. I tried the `jk` combination that some people recommend, but it doesn't work for me.
- cgag 15y agoI've never used a keyboard where escape was convenient to press. I personally use inoremap so 'jk' only does something in insert mode, I hit jk repeatedly all the time in normal mode while I'm thinking.
- andrewflnr 15y agoI actually prefer kj myself, as it's a little faster to go from outside to inside fingers.
- sedm0784 15y agoShouldn't that be inoremap?
- deleted 15y ago[deleted]
- kemiller 15y agoYou'd think this would be a great use for a custom gesture. Actually, having various gestures available as mappable objects would be pretty cool...
- Ecco 15y agoDefinitely :-) Just add this as a feature request on GitHub. I was considering adding this, but I wasn't sure if other people would like it.