Nothing warms the soul on a cold winter morning like a VI vs EMACS flamewar. But when was the last time you saw one? Kids these days, using their javascript-powered editors. And with VI and EMACS both eligible for Social Security, perhaps their fighting days are over. But fear not! A new generation of VI and EMACS is here to fight and fight and fight fight fight.
Neovim (github) is a VIM fork for the 21st century. Removing cruft (like support for the Amiga platform where VIM originated) and other updates.
Spacemacs (github) claims to be a "Mnemonic, Discoverable, Consistent, and Crowd-Funded" (vim and emacs) distribution. Confused? Me too.
(Score: 2) by kbahey on Monday February 08 2016, @04:32PM
I tested a machine where vim is with default values, and it exits, so ! is there.
2bits.com, Inc: Drupal, WordPress, and LAMP performance tuning [2bits.com].
(Score: 2) by Whoever on Tuesday February 09 2016, @04:00AM
Try editing a file that you own and has permissions 400. You can exist and save with ":wq!", but not with ":wq" or "ZZ"
(Score: 2) by kbahey on Tuesday February 09 2016, @04:08AM
What I tried was:
1. Opening a regular file (with read/write permissions to me),
2. Add a line to it.
3. Hit ZZ
What happened is that it was force-saved and exited.
The only equivalent to this is :wq! not just :wq.
2bits.com, Inc: Drupal, WordPress, and LAMP performance tuning [2bits.com].
(Score: 2) by Whoever on Tuesday February 09 2016, @05:50AM
Did you actually try quitting with ":wq" (without the "!")? Because if you have write permissions to the file, you don't need the "!".
(Score: 2) by kbahey on Tuesday February 09 2016, @01:39PM
You are right!
2bits.com, Inc: Drupal, WordPress, and LAMP performance tuning [2bits.com].