No one can exit vim. It's simply not possible.
There are even legends that the devil himself was onced tricked into opening vim and is stuck there since.
No one can exit vim. It's simply not possible.
There are even legends that the devil himself was onced tricked into opening vim and is stuck there since.
That explains the many vim enthusiasts that don't want any other editor. They simply can't exit the vim instance they once accidentally opened...
The Eagles called it Hotel California.
"We are all just prisoners here of our own device"
So true, so true.
Stockholm Editor
Every computer has a built-in "exit vim" button, conveniently located on the chassis, usually next to the power cord. Flick it to 0, then back to 1, and you'll find vim has been successfully exited. :)
What if my PC boots straight into Vim? It's not like I need anything else, can do everything in Vim
Jokes aside, vim as PID 1 is just a bad idea.
Emacs on the other hand: https://github.com/emacs-os/el-init
so human of it!
Isn't it? I can't decide whether I believe this is an easter egg
If it was trained properly on Internet data it would just respond with "you can't"
If you need to exit vim, just open a new terminal and reboot the machine.
Ok this proves that AI has reaches human level intelligence.
This is the closest I have seen Copilot doing something like a human Programmer would
Instructions: "Next, open the .config file in vim..."
Me:

What a weird way to spell nano
Nano is the proper tool for this job.
neovim
but
use whatever you like

i cant understand all the vim hyping. its probably very neat and can do whatever, but what good is that if it takes awful amount of bother to learn everything by heart since interface has been designed to be as unfriendly as possible. it doesnt have to be fit for office worker, but at least some ease of use is needed.
The interface is modal editing, which, yes, takes some getting used to. The payoff is that you get a kind of programming language for text editing. Rather than memorizing ctrl+shift+alt-style keybinds, you decompose stuff into chainable actions.
Have you ever played a video game, be it with kbd+mouse or gamepad, and realize you’re doing a bunch of stuff without actually consciously thinking about what buttons you’re pressing? That’s what working in editors like Vim or (my fav) Helix feels like.
It’s a specialist tool. You can say the same thing about any specialist tool. Why should CNC machine tools exist if they’re so hard to use and take a lot of training and are dangerous in the hands of untrained people?
Reject CNC machines, return to rock!
Vim is actually highly ergonomic; you can do everything with a minimum of keystrokes without moving a hand away to a mouse or touchpad or oven the arrow keys. If that's worth the time investment to learn it, is a highly subjective question. But I’d say it's a lot easier than many people think.
fluency. languages are hard to learn but when you know them you communicate better. same as touch-typing, or mobas.
It's not "designed to be as unfriendly as possible", it's designed to be exactly what you configure it to be, that's why I love it. Every keymap, every screen position, every worflow, the way it searches through lines and files names, everything was configured by me, so whenever I do something in my editor it always make absolute sense for me, because it was literally made for me.
If you get me to someone else's neovim config I would probably be absolutely lost because it's a very unique experience for each person, some people like to bloat it out with plugins others like to keep it bare minimum and so on.
One biggest lie abput vim is the productivity, it doesn't make you that much faster in comparison to any other editor if you take the time to learn the keymaps from them, the real strong point of neovim is having an editor that is absolutely tailor made for you in a way you cannot achieve in OOB editors.
Yeah, but as a 30-year vi/vim user, using it nearly every day - it IS pretty user-unfriendly
Why :wq doesnt work?
If it’s a read only file it won’t work, but it might be in insert mode and can’t escape.
It should have tried :q!
Could be in recording mode, which usually needs a couple ESC or a Q then you can :wq
Just like me fr
I often see Copilot get stuck in a nonresponsive shell after it used cat > file. It's hilarious to watch the first time, but I'm a bit tired of it by now. Why doesn't it just edit files like it normally does?
Why doesn't it just edit files like it normally does?
Haha. Yes.
But it does everything the most probable way, according to all the stack overflow it has swallowed.
Sometimes that way makes sense. Sometimes not.
Blowing through all those tokens failing to exit a vim
Same tbh
Ngl, there have been some times when i Ctrl-Z, then found and killed the PID
No need to find it, just kill %1, to kill the first background job in a shell (check jobs otherwise to find the right %n)
I'm sorry, Dave. I'm afraid I can't exit vim.
How to protect your computer from automated AI attacks 101: start vim
They really are just like us... 🥲
Come on in, <esc>J us, soon you will learn to love the one true editor. Launch vi and be <esc>:w. Soon you will want to <esc>:%s/other editors/vi/g. <esc>dd your hesitation and do it.
If you use nvim you don't exit you open a float terminal. Why would you exit?
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.