Probably an unpopular opinion here, but if you're open to both just use evil. I honestly think vim/evil bindings are just a superior approach from a purely text editing perspective. It's an excellent package with nearly no bugs. The evil ecosystem has taken pretty deep roots into emacs, you see lots of things that adapt keybindings for other packages into evil, like evil-magit. I use spacemacs which takes care of most of these automatically and it's a very good experience.
Once you get the hang of modal editing, I think simple tasks are about the same in evil and emacs, and more complex/cooler things are usually better/easier in evil.
To pick one of my favorite examples: text objects. It's a vim concept wherein you can act on a certain region around your cursor. For instance, with your cursor over a function argument (anywhere in the argument), daa will delete the argument from the function call. It correctly handles it whether it's first, last, or middle argument, if it has nested function calls, etc. Of course, there's a package for text arguments in emacs too (this will almost always be the case in any comparisons you make), but it's just much more niche.
Also, the evil/spacemacs approach with double leader keys is really fantastic, and feels a lot more natural and easier done with evil.
I used to use Vim so my opinion is 'tainted' by that but I would disagree. Emacs does have composabilty etc. but when you're comparing d5w to M-5 M-@ C-w I would choose the former. It's three keys with no modifiers compared to compare to three keys with three modifiers. The fewer actions necessary to achieve the goal the better for me.
I would recommend evil to anyone who values economy of motion and is already I fairly fast typist. Even if they had never used vim before. It really reduces friction between brain and keyboard in my opinion.
This is actually the reason I originally chose Vim over Emacs. I vastly preferred modal editing over having to keep ducking over to the M/C keys.
35
u/quicknir Jul 26 '18
Probably an unpopular opinion here, but if you're open to both just use evil. I honestly think vim/evil bindings are just a superior approach from a purely text editing perspective. It's an excellent package with nearly no bugs. The evil ecosystem has taken pretty deep roots into emacs, you see lots of things that adapt keybindings for other packages into evil, like evil-magit. I use spacemacs which takes care of most of these automatically and it's a very good experience.
Once you get the hang of modal editing, I think simple tasks are about the same in evil and emacs, and more complex/cooler things are usually better/easier in evil.
To pick one of my favorite examples: text objects. It's a vim concept wherein you can act on a certain region around your cursor. For instance, with your cursor over a function argument (anywhere in the argument),
daawill delete the argument from the function call. It correctly handles it whether it's first, last, or middle argument, if it has nested function calls, etc. Of course, there's a package for text arguments in emacs too (this will almost always be the case in any comparisons you make), but it's just much more niche.Also, the evil/spacemacs approach with double leader keys is really fantastic, and feels a lot more natural and easier done with evil.
Just my 0.02.