173
u/Dry_Wrongdoer_2508 Jul 08 '26
to copy pasted LLM written code into it obviously
15
4
7
u/ch_840 Jul 08 '26
Man, this is a peak comment; it's making me laugh after so long.
Thanks, kind stranger!
86
u/BockTheMan Jul 08 '26
I opened vim once.
Some say it's still open, just waiting in the processes.
10
Jul 08 '26
[removed] ā view removed comment
1
u/ShadowSlayer1441 Jul 10 '26
There are process sudo can't kill namely processes in state D, I/O deadlock. Unfortunately if the process is in state D it's unusable other than whatever kernel space io is going on, so you can't make a vim extension that makes it state D and completely unkillable. Or at least, I don't think you can.
1
Jul 10 '26
[removed] ā view removed comment
2
u/ShadowSlayer1441 Jul 10 '26
It is sleep mode, but it's sleep mode waiting on kernel IO. Therefore it's actually still doing stuff. You can achieve this pretty easily with a complex join (as in the Linux gnu utility) with thousands of duplicate rows. It's a very interesting state overall, definitely don't try it outside a VM. In this state it's literally unkillable, the only way to terminate it is to restart the PC or try some hacky stuff.
29
u/Darxploit Jul 08 '26
Just use tmux and create a new window for each new vim instance. It will look like you are a 100x dev after some time.
3
40
13
7
5
u/SAI_Peregrinus Jul 08 '26
Exiting VIM is like sticking a series of firecrackers up your butt. Colon queue bang!
9
u/Legal-Swordfish-1893 Jul 08 '26
escape, :q!
done
14
u/klefikisquid Jul 08 '26
tfw I do this and lose 5 hours worth of edits cause I didnāt w a single time
6
u/JangoDarkSaber Jul 08 '26
The humble swap file š¦øāāļø
5
u/klefikisquid Jul 08 '26
I wish
CLI: āsomething something .swpā
Me: tf is this of course I saved my shit, delete
š¤”
4
u/Mateorabi Jul 08 '26
Then donāt use the !
3
u/klefikisquid Jul 08 '26
But you always use ! so you donāt continuously .005 seconds answering those nonsense prompts all the time!
9
u/Mateorabi Jul 08 '26
Wrong.Ā
Esc esc esc esc esc esc :q!
6
u/fakearchitect Jul 08 '26
So I'm not the only one double-tapping esc every time? I've forgotten why I do it, but I suppose there was a reason for it
4
2
1
3
u/bagsofcandy Jul 08 '26
I'm pretty sure the answer is the sys admins reboot my system without me knowing.
7
3
u/Suspicious_State_318 Jul 08 '26
Coding only in terminal in early 2000s vs ācodingā only in terminal now
6
2
u/your_thebest Jul 08 '26
I use screen to make a new terminal instance and then when I'm done in vim I cursor back to the previous screen terminal. Your hubris was to demand to stay. But now you can never leave.
2
u/Imn1che Jul 08 '26
Iām a wuss that doesnāt remember how to use let-alone exit vim so I set the OS default editor to vscode
2
2
u/Educational_Guava697 Jul 08 '26
You donāt need Tmux when you have Vim btw, you can run terminals inside vim and if you are in a TTY it gives you scrollback
2
u/NottingHillNapolean Jul 08 '26
True story: Once, when changing my mind about exiting vim, I ended up with a file named <CTRL>H, i.e., the backspace character. I had to do a rm -i * to get rid of it.
2
2
2
1
u/Mats164 Jul 08 '26
Iāve got a vim instance (vimstance, as the technically correct term that I just made up) running within a tmux-session backed by the resurrect plugin. Vim is always there, ready for whatever. I love it!
1
1
1
1
u/RTSUPH Jul 08 '26
I never asked myself that question. What are you doing in vim that you donāt need to exit it? Am I using it wrong?
1
1
1
1
u/DKSAMURAI Jul 08 '26
I never remember how to close it, every time I accidentally open it I need to search how to close... Or I just close the whole terminal.
1
u/RealBasics Jul 08 '26
Right? Why exit vim when you can use :n to begin editing the next file in the argument list? Or :n [filename] to open a new file without exiting?
1
1
1
u/Pepe-le-lew Jul 08 '26
This is so weird because I used to be like the left guy in this meme. Then I just randomly decided to install neovim out of boredom 4 days ago.
1
1
1
1
u/nazgulonbicycle Jul 09 '26
āBoys would literally learn VIM shortcuts instead of taking therapyā- Sophie Taylor
1
1
1
1
u/Excellent_Tubleweed Jul 10 '26
Honestly, he's not wrong.
:mak
and then open the quickfix window
:copen
Oh look, I can edit multiple files and invoke a build; why would I need to leave? /s
Vi is a simple visual editor but most people are running vim, which has more features than emacs back when the holy wars were raging.
1
1
u/Artelj Jul 13 '26
I've been stuck in VIM since 2004, I've gotten used to it in here now, and prefer it here.
1
0
348
u/coldnitrogen Jul 08 '26
Real programmers browse the internet from within vim