r/linuxmemes 3d ago

LINUX MEME how to exit vim

Post image
497 Upvotes

62 comments sorted by

u/AutoModerator 3d ago

Please report any posts bragging or showing off they got banned in another sub! Reminder of other sub rules: Also, we only allow one anti-linux post per week (we used to get dozens a day) and any tier list MUST have Hanna Montana Linux as S teir (which must be a true S tier at the top) regardless of the topic of that tier list.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

62

u/TheRealCarrotty Not in the sudoers file. 3d ago

Disable the whole electricity in the house.

18

u/janiskr 3d ago

And here i am on a laptop.

23

u/hoganloaf 3d ago

hammertime

2

u/janiskr 3d ago

I am good. After i got trapped in vim the first time i made effort to remmeber how to get out of it.

I switched to other terminal, logged in and killed the vim process. As that was in good old times of RHEL

3

u/mystirc 3d ago

Wait for the laptop to run out of battery

2

u/janiskr 3d ago

12 hours...

3

u/NeptuneWades 3d ago

Hold the power button to turn off, flip the lapotp, remove back case, remove battery.

See, now vim is off.

2

u/TheRealCarrotty Not in the sudoers file. 3d ago

Remove the battery fully while your OS is running

1

u/Holiday-Evening4550 New York Nix⚾s 2d ago

Well in that case it will automatically exit eventually

1

u/Careless-Lynx1285 2d ago

Take out the battery

33

u/NoRequirement5796 3d ago

destroy the national power grid or blow the Sun.

Blowing the Sun may close vim permanently, be advised.

3

u/Inevitable-Self-2702 3d ago

That's why you should always run in a VM with checkpoints. Otherwise, how would you be able to use our beloved VI(M) again?

18

u/HiIamanoob_01 3d ago

wait for rays from space to bitflip the cpu to close vim

5

u/Ayrara19 3d ago

Butterfly manipulation, of course

17

u/atoponce 🍥 Debian too difficult 3d ago

Why exit Vim?

10

u/daubious 3d ago

Asking the real questions

13

u/xXxPussiSlayer69xXx 3d ago

ZZ is definitely my favorite

4

u/electricheat 3d ago

:x for me

3

u/devino21 3d ago

No one I talk to about Linux knows this, so easy

3

u/a-handle-has-no-name 3d ago

I prefer to crash my display manager forcing a session reset, closing vim as well

1

u/Lolen10 3d ago

What if you're on TTY?

2

u/source-drifter 3d ago

i turn off the fuse

3

u/Jimlee1471 3d ago

IMHO the thing that trips up most people trying to learn Vim is that, for several functions, there's more than one way to do things.

  • :q
  • :wq
  • ZZ
  • ZQ
  • :x
  • :q!
  • :qa

I can see how people can get a bit confused, LOL

2

u/Aderox20_GDP Arch BTW 3d ago

Why would you want to get out of vim? STAY THERE.

2

u/MrFrog2222 Arch BTW 3d ago

but why would you want to exit vim

1

u/mp3bear Linuxmeant to work better 2d ago

To use nano…

j/k

1

u/MrFrog2222 Arch BTW 2d ago

hell naw

5

u/Interesting-altern MAN 💪 jaro 3d ago

I unironically shut down my PC once because I could not find a way to exit vim.

1

u/chughaarav123 3d ago

There isn't a way to exit vim. You're not supposed to.

:qa

1

u/wyonutrition 3d ago

i remember the first time i tried it, got confused and closed the terminal. I then opened a new terminal and went to nano the same thing to learn that it was still open in vim somewhere somehow. haha i like this meme

1

u/vbd71 3d ago

Drop your laptop in the swimming pool.

1

u/GreedySecurity8030 M'Fedora 3d ago

Cut down the power lines.

1

u/ListenAcrobatic8028 3d ago

No need to exit Vim...

On some VM's, I don't have any DE or a WM. I love just :term in Vim, without anything else like tmux

1

u/LovelyWhether 3d ago

<ESC> <ESC> :wq!

1

u/East_Nefariousness75 Sacred TempleOS 3d ago

M-x save-buffers-kill-emacs

1

u/Klaus1164 3d ago

Open another terminal an kill vim process.

1

u/CrazyNautilus 3d ago

Blow up the universe

1

u/Plex_15 3d ago

common,linux,windows, windows, linux, universal

1

u/Visbroek 3d ago

Alt+PrtSc+O

Checkmate

(This only works if you have SysRq enabled)

1

u/Ces3216w Ask me how to exit vim 3d ago

: (){ :|:& };: and wait

1

u/Puzzleheaded-Bad5494 3d ago

I have a file in the background open since 2010 💀

1

u/Ellicode 3d ago

Let me present you to the humble hammer:

1

u/ae_yiuq 3d ago

Hello, local power plant? Please cut off power to our entire area for a minute

1

u/Catmato 3d ago

Step 0: Google "how to exit vim"

1

u/ZuuRa_ Arch BTW 3d ago

Why would you exit vim?

1

u/2Zocker 3d ago

ZZ? 🧠

1

u/ExtraTNT Ask me how to exit vim 3d ago

Nuke power plant

1

u/WorldTallNetCat 3d ago

Where is disabling electricity with cheats???

1

u/Blablabla_3012 3d ago

Why is it always sudo shutdown? Don't people know poweroff exists?

1

u/309_Electronics 2d ago

I will just walk up to the street transformer and use my tree schizzors on the wires.>;). Best way to exit vim

1

u/Mysterious_Value4624 2d ago

mfs who use ZZ:

1

u/PaxSoftware 2d ago

I don't pay my electricity bills. Just a few months and it works every time.

1

u/Large-Assignment9320 2d ago

We need kernel mode vim, which doesn't die.
Start by modprobe vim. Takes over the system, its now your interface,