4 ms·
:imap jk <esc> Will change your life man.
by jeremyjh 8y ago
:imap jk <esc>
Will change your life man.
- dmitryminkovsky 8y agoHah that’s good one! I need to take a vacation and re-examine my vim life. So many good things to explore and muscle memory to tweak.
- apetresc 8y agoI wonder if there are any studies that look at how hard it is to permanently readjust muscle memory as you age. Would I ever (at 31) ever achieve the same fluency with emacs if I switched cold-turkey today as I've developed with vim in my teens and twenties? What about in my fifties?
- thomasfortes 8y agoI'm 33, switched to emacs the end of the last year, still find the way that vim edit files better, but the ecosystem around emacs has a ton of niceties, so for me the solution was to install evil-mode and configure it to work as close as possible to my vim configuration, but in the end I decided to left some things the emacs way. Now I sometimes find myself using some of the emacs shortcuts when editing files with vim...
- stjohnswarts 8y agoNah when you hit 50 you're basically just a burned out husk and can't learn anything new, not even your muscles. Love, Silicon Valley
- satvikpendem 8y agoThis is what Spacemacs and I think Evil Mode do as well
- thomasfortes 8y agoConsciously I know that jk is a better shortcut, but I've been using jj for so long that it's ingrained in the muscle memory, when I started using emacs the first thing that I did with evil was replicate all the shortcuts that I am used to in vim, the first one was jj.
- pradn 8y agoI have to shy away from using these remappings because I often work in Vim-emulation mode. It's easier to map CapsLock to ESC system-wide. It works across the several Vim-emulating editors I use.
- jeremyjh 8y agoI use quite a few as well and they all support it. Actually I don’t use vim much, mostly emacs and vscode but I know it works in IntelliJ, Eclipse and Visual Studio as well. What is annoying though is they all have totally different names and methods of configuration.