User: I accidentally opened vim. How do you even quit this thing?
me: that's their adoption strategy. it's Hotel California of text editors
User: I accidentally opened vim. How do you even quit this thing?
me: that's their adoption strategy. it's Hotel California of text editors
@nixCraft you need to unplug the computer from the wall and do a killall vi. In this order. It's possible that vim survives, be prepared.
@nixCraft Haha...the first number of times I followed a tutorial that said "type vim $file" I then had to quit terminal because I had no idea how to save the file as instructed in the next step.
@nixCraft ^z killall -9 vim
@nixCraft you can't until you finish your work.
@nixCraft LOL!😀
@nixCraft vi has nothing on ed.
@nixCraft if anyone actually needs the answer: press esc then type :zz to save changes then quit, or :q! to exit without saving changes and suppress any warnings.
@nixCraft Having messed around with vim while trying to edit config files on my Ubuntu on WSL install, I can attest to just how much of a user interface nightmare it is.
I definitely have had to quit the entire Terminal app just to get out of vim before, lol.
@nixCraft everybody complaining how to quit vim... how does one quit ed????
@nixCraft Vim is also preinstalled on macOS as well
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.