DEV Community

Discussion on: Anyone still using Emacs?

 
dalanicolai profile image
Daniel Nicolai

I did not know about this feature in Vim. But I have set up somehing similar in Emacs. It is just a matter of adding the keybindings. For example I use C-j/h to move the cursor left/right in insert mode (which I could as well have configured as M-j/h. And I could very easily add C-j/k to use it for scrolling from insert mode, but I have these mapped to switching buffers, see here). If you would like to map all keys in insert mode at once, then you probably should copy the normal-mode map into some meta key prefix map or something. This indeed requires some more reading (or experience). But if you get to know Emacs well, than you will see how easy it becomes.

Maybe this single thing is easier in vim, because vim is configured like that by default. But generally my experience is that Emacs is much easier, and more configurable than Vim, which is also the reason why I switched from vim to Spacemacs.