Linux - NewsThis forum is for original Linux News. If you'd like to write content for LQ, feel free to contact us.
All threads in the forum need to be approved before they will appear.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602
Rep:
The End of the Editor Wars
Quote:
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.
Vim users are all too easily tricked into voting online. They've given away their population numbers so the Emacs warriors (who handily outnumber the vimmers, no doubt) can handily hack away and convert those in the wrong!
Especially if you're using a wireless keyboard with no caps-lock light.
The Caps/Lock light doesn't matter, if you switch the keys with xmodmap the light is included with the switch. If you are a gamer though it is a good idea to set up a keyboard shortcut to toggle the switch, since some games ignore those settings.
Unless you pass the appropriate option in your config file to switch it to VI mode.
Just switch the Esc key with Caps/Lock. Seriously, who uses Caps/Lock anyways?
I thought I was setting up a pretty good fork on my point, and then later I thought, "But what about remapping caps lock to Esc? Nah, nobody will think of that..."
That's a pretty good use for caps lock. When I was making an effort to play around with vim I really liked using the 'j-k' two-finger roll to get back to normal mode.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.