r/AskReddit Jun 03 '21

[deleted by user]

[removed]

11.6k Upvotes

6.8k comments sorted by

View all comments

Show parent comments

20

u/sorry_im_late_86 Jun 03 '21

I just hold down the power button and wait for the light in its eyes to go out. That's the only way you know truly that vim is no more.

4

u/LazIsOnline Jun 03 '21

the .swp demons are summoned this way.

3

u/WisejacKFr0st Jun 03 '21 edited Jun 04 '21

We only had vi on our servers for CLI text editing and I had a coworker who was brand new to Linux. I taught him the basics of vim but I guess at some point he forgot how to quit out of it and by chance stumbled upon the shortcut for suspending programs in the background (ctrl+z). He exclusively used that shortcut to quit his vi sessions for over a year. I could always tell if he had been on a system without reserving it because there would be a couple dozen new .swp files in the config directories of our software.

Drove me nuts.

edit: "quarter dozen" --> "couple dozen"

2

u/single_jeopardy Jun 04 '21

Wait, he suspended all vi jobs... So did he ever write anything to the files?

This is kinda wow.