Bought a new computer, threw the old one out.
I was introduced to Linux with Vim so it’s actually Nano that confuses me…
The good thing about nano is that it has clear instructions for how to close it right there immediately in front of you
Not if aren’t familiar with control characters. Might was well be three seashells…
Same, every new system that defaults to nano and throws me in here when I’m expecting vim I have to stop and remember what the characters mean right before changing it to use vim (like, seriously, I typed “visudo”, not “nanosudo”, why the hell would I expect it to open in anything other than vi or vim?)
I’ve always been using nano, but since I refused to ever read the docs, I’m still confused
Reinstalled Linux
:!killall -9 vim
Cuz it’s kill dash nine. No more CPU time.
CTRL+face on keyboard. I guess Z got me out, but who knows.
“killall vim” in another terminal tab
who needs another tab
:!killall -9 vim
control-z, kill %1
From the torrent, the deluge, the unending tidal wave of this exact meme in various formats. The “exit vim difficult” meme must constitute at least 50% of online content regarding *nix and *nix-adjacent systems. It is so stale that Slackware considers it outdated. It is the “mayonnaise is spicy” equivalent of funny. It is the white bread, picket fence stereotype of meme culture, yes offense. I’d like to say that it’s beating a dead horse, but the horse is gone; its flesh has been tenderized, pulverized, and evaporated from the sum total of energy imparted by the constant beating. If the heat death of the universe were to happen tomorrow, and from the uniform vacuum energy a Boltzmann brain were to spontaneously form, it will have been already tired of this meme.
But to answer the question, it was either that, or the big
type :q<Enter> to exit
splash that appears when I open it with an empty buffer, and following its instructions.
No offense to you or your house, but I’m really tired of this meme.
splash that appears when I open it with an empty buffer, and following its instructions.
That’s the key to the problem, I have almost never open vim with an empty buffer, almost only used it to open files directly. Since there is no nice splash screen telling you how to exit when you use
vi <your_file>
, this meme happens.
why’d ya make it weird, OP
Long before I used vim, some dude shared a bunch of vim memes with “:q!” in them.
It was actually vi on some ye olde unix machine, but I remembered the meme and got out, searched up how to use vim, and then jumped back in to edit the file lol.
Ctrl z
Shutting down my computer with the button, restarting, and installing Emacs.
Shutting down my computer with the button, restarting, Hahaha exactly what I was going to say and installing Emacs. Wait
Can’t relate I use nano
You say it like ^X was somehow intuitive
Honestly?
By looking up the command. It took like two seconds and that was nearly twenty years ago. And I’ve been using it off and on since then (only off because I’ve not been consistently using Linux, not because I’m using a different terminal text editor; when on *NIX, vim/vi is pretty much all I’ve used on the terminal)
I don’t think this person was sharing this meme looking for honest answers, but since you did, I think this is the correct answer.