Which one to choose for development? Advantages & disadvantages of each?
I use Emacs and have been since around 1986. If you’re big on extensibility, Emacs has the elisp programming language built in. Vim used to be more performant than Emacs, but with today’s processor speeds, it is hardly an issue. Emacs can emulate other editors, and as someone else mention Doom Emacs gives you the best of both worlds.
If you are on a Mac, all the text boxes already use Emacs keystrokes. Ctrl-a = Beginning of Line, ctrl-e = End of Line, ctrl-k = Kill to End of Line, ctrl-d = Delete Character, etc.
I would say the same as most it really depends on what you are doing, I program in Lisp a lot so Emacs is a natural fit. Vi/Vim/Neovim are in my opinion Technically better they are smaller and simpler however Emacs is a much bigger and more versatile. I ended up choosing Emacs specifically because it was bigger and more versatile. I do plan on giving Vim a try again sometime to see if it fits my needs better, once learning Vim Keybinds/Motions I find it relatively easy to switch between them, except when it comes to the editor specific apps like Org Mode.
I use Neovim with a custom config, personally - Though I do currently have “look into Doom Emacs” on my personal todo list … So it really depends on what you’re after honestly.
Used to be a huge Emacs nut (ı still like it) but i converted to neovim because its more practical in a modern sense but helix is slowly taking me over. especially due to its speed and still looking very beatiful by default
If you love hacking/customizing your system and willing to spend time on it, go with Emacs. If you want something lightweight and fast with moderate customizability go with Neovim.
I don’t have the solution.
I just want to say that I try helix since few weeks and it’s nice!
According to wikipedia, this war is raging since 1985 https://en.wikipedia.org/wiki/Editor_war .
Pick what you want, either is good. I use
vi
for editing text files on linux servers which don’t have Emacs installed. On everything else, Emacs.First thought seeing post’s title (still enjoy reading the opinions, none the less):
¿Porqué no los dos?
https://github.com/doomemacs/doomemacs
I absolutely love the concept of modal editing provided by vim. But if you’re into all the things that Emacs and you don’t have the patientce to build your config from scratch, then Doom Emacs is for you.
+1 for Doom Emacs. It’s well-setup OOTB.
Very interesting question indeed, one that is often debated among programmers.
It ultimately comes down to what suits your personal style and requirements.
Mostly, both have strengths and weaknesses, so it’s hard to universally recommend one over the other.
I used to be on the vim side of things. But recently have switched to helix. It is a modal editor similar (but a bit different from vim) but with most of the things you need plugins for built in, so no need to spend hours finding plugins and configuring things.
But whichever you like is really a personal preference. I have seen far more people use vim in the wild than Emacs. And you can configure Emacs with vi input mode.
If you work with servers knowing basic vi is a must as it is often the only editor installed on the system.