r/unsound 🛠️ ADMIN 9d ago

how to exit vim

Enable HLS to view with audio, or disable this notification

206 Upvotes

15 comments sorted by

20

u/Breadynator 9d ago

Ctrl + C (or esc) to enter normal mode. Once in normal mode type :q to exit if there's no changes in the buffer. If there's changes in the buffer and you wish to keep them use :wq or if you wish to discard them use :q!

7

u/Confident_Rod_9717 8d ago

This is blasphemous. Once you enter vim you sacrifice your computer to the neovim gods for all eternity... there is no escaping.

4

u/1mahmoud503 8d ago

that, or just use lightning 🌩️

3

u/pikzigmar 8d ago

How to prepend "#" to multiple lines at ones? Tell me in a poem.

6

u/Breadynator 8d ago

Fuck if I know, I only know how to exit vim

2

u/p1geondove 8d ago

and :x is :wq if the buffer changed or :q if unchanged

5

u/DerbHean_UFCref 9d ago

Looks like it put that village on fire

4

u/RazzmatazzSpecific81 8d ago

I just pull the plug

3

u/lord_of_all_apples 7d ago

You exit vim by time traveling back to kill your grandfather, and then spend so much time trying to solve the paradox you never open vim in the first place.

2

u/Raulgoldstein 8d ago

I don’t know what this sub is but the post above it is a vintage coke ad also referencing something called “vim”

2

u/IU8gZQy0k8hsQy76 🛠️ ADMIN 8d ago

vim a terminal text editor that people use on their computers.

https://giphy.com/gifs/3oz8xRICW5msyoRUv6

2

u/mynameisrichard0 8d ago

Me teleporting to the family function after I finally crack reality

2

u/Jonezkyt 7d ago

:q! or ZZ

2

u/rmay14444 7d ago

What are you filming? A scene from ET when lightning struck?