No. Everything is vim. Once you enter, there is no exit. It's sort of like Inception and the Matrix had a baby and that baby grew up to be a text editor.
I guess different phrasing would also make the rm question fly under the radar. StackOverflow was honestly 99% phrasing and a complete bragfest. For example, ask about the tool, not the problem:
How does one relink inodes unlinked via the rm command where link counts are 0?
This way you'd probably get dozens of answers explaining in-depth file recovery of raw data from the filesystem
TBH even with the question as written, I would be saying "testdisk". Seriously, that tool is nothing short of god-tier magic on the day when you desperately need it.
Don't you get a long list of files with random alphanimeric names that kind of makes a pain to find that 1 file you have just deleted? It was a long time ago since I've used it, and even then I was never quite sure I used it properly
It depends a lot on how much has happened in that directory. The file name is often still there. The trouble is, if you've had a *lot* of files with the same name, they're probably ALL still there.
Maybe it depends on the file system. They certainly were when I used it.
Or maybe you're thinking of the lost+found directory, rather than the testdisk program? That's a very different feature and unlikely to help with an accidental rm, but can rescue something that got lost due to power failure.
Why bother? The last 50 devs actually on SO should just make the rules now. Doesn't really matter to the rest of us.. at least I haven't visited this site in years. And I really don't miss it.
The fall-off in traffic is pretty clearly AI-induced, but the fall-of in questions feels like it's partly because the site is just kind of... complete.
Excluding answers that have gone out of date or new frameworks, libraries, etc, >99% of what people want to know is already there. And if I need to know "how does X work?" rather than "write X for me", it's consistently faster and easier than turning to an AI which may not actually give me the library/package-specific info I'm after.
FF: rm -rf / requires you supply --no-preserve-root to run if you don't nothing will happen but rm -rf /* doesn't and that will still proper fuck your system if you are running as root.
:q!
E37: No write since last change (add ! to override)
E162: No write since last change for buffer "[No Name]"
Press ENTER or type command to continue
:q!!
E488: Trailing characters
:
:q!
E37: No write since last change (add ! to override)
E162: No write since last change for buffer "foo"
Press ENTER or type command to continue
:q!!
E488: Trailing characters
:
vi never gives me such sh*t, but vim ... f*ck vim!
Ah, reminds me when I went to school with a bunch of Linux elitists who would unironically say "Vim isnt that hard to use" then reference shit like that.
1.7k
u/Interesting_Buy_3969 2d ago
https://stackoverflow.com/questions/11828270/how-do-i-exit-vim
This is a legend