The End of the Editor Wars
Off the Beat: Bruce Byfield's Blog
For years, the text editors Vi (and its successor Vim) and Emacs have been seen as rivals. In recent years, the rivalry has been largely a subject of jokes, but in the days before the desktop, it was serious enough, and the subject of endless flame wars. Even now, you hardly count as a hacker if you haven't taken sides, although taking sides can be dangerous in itself; I know of at least one Emacs user who lost their chance of a job at a company where the standard was Vim. Nobody seems to have noticed yet that the editor wars are over, or that Vim won handily.
When I first became involved in free software, the distinction between Vi and Emacs supporters seemed real. Emac supporters in my unscientific observations, seemed to be older on the whole, although Vi had its old-timers as well. Just as Apple users are supposed to be, Emac users seem more intuitive, and Vi users more pragmatic. For a while, it even seemed to me that Emac supporters grew in numbers as you approached the Atlantic seaboard, although I now question that observation. But over the last fifteen years, Emacs users shrank in number until in 2015 it is only one of many editors.
I became aware of this shift eight months ago, when I was technical editor for the latest edition of a Unix and Linux primer. The book had grown with each edition, and the writers were looking for cuts. For a while, they considered paring down mention of Emacs to a few sentences in passing, but, being well aware of the editing wars, in the end they settled for offering a chapter on Emacs online as a bonus for readers.
This decision was my first indication that the times had changed, but the LinuxQuestions Members Choice Awards for 2013 and 2014 suggest to me that the decision was sensible. In those two years, Emacs polled 8% and 9%, while Vi and Vim together polled 37% and 38% -- over four and a half times more than Emacs.
LinuxQuestions, of course, is a specialty site, its readers consisting of experts and beginners who are advanced enough to have found their way to the site. But a command line text editor is an expert tool by definition, so the poll probably reflects the opinion of users knowledgeable enough to make a choice, especially since it was consistent over two years.
Moreover, even if you assume a broad margin of error, the pollings aren't even close. With all the various text editors available today, Vi and Vim continue to be the choice of over a third of users, while Emacs well back in the pack, no longer a competitor for the most popular text editor.
The reason why
So far as I can see, Vi/Vim had no decisive moment of victory. More likely, there was simply a slow shift in user preferences. Why the shift happened, I can only speculate.
Perhaps Emac's decline -- like its former ascendancy -- was due to its close association with its author Richard Stallman and the Free Software Foundation (FSF). Both Stallman and the FSF seem to have declined in influence since the conferences and compromises that led to the release of the third version of the GNU General Public License in 2007, and they could have dragged down Emac with it.
More likely, Emacs was the victim of competition. The command line editor nano scored roughly the same as Emacs in the LinuxQuestions polls, while the desktop editors gedit and Kate scored slightly better. Another sixteen editors scored .1-4%. Almost all these editors can be learned in a matter of minutes, while Emacs' arcane features are the subject of jokes, even among users..
Admittedly, Vi can be almost as arcane as Emacs, but you need to learn less to start using Vi. Its arcaneness comes largely in the advanced commands, and its commands are consistently short than Emac's, which sometimes seem perfectly designed for anyone who happens to be an octopus.
Just as importantly, while both Vi and Emacs have package managers, Vi's various package managers are better organized than anything on Emacs and some of them can be configured for automatic updates. By contrast, where Emacs holds the advantage is usually in configuration and customization -- areas that many users take some learning to appreciate, assuming they get to them at all.
However, venturing these opinions risks rekindling the editor wars when they no longer have a point. For whatever combination of reasons, the wars are over, ending with Vi almost as popular as ever, and Emacs in decline.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.