this post was submitted on 09 Jun 2023
38 points (100.0% liked)

unix like operating system lovers

2152 readers
1 users here now

This is a community that is only for nerds jk. everyone who doesn't scare when seeing UNIX terminal welcome! rules:

  1. don't make comments that branch out from the main topic too much, at least please somehow relate to it.
  2. retro operating systems, e.g. discussion about them, is strictly forbidden, please make a retro community instead.
  3. please be nice for others.

founded 1 year ago
MODERATORS
 

I tried everything, from Esc, Ctrl-C, REISUB, even ctrl-alt-delete.

I gave up and held down the power button

you are viewing a single comment's thread
view the rest of the comments
[–] Saledovil@sh.itjust.works 15 points 1 year ago

It's , ':' 'q' . 'Esc' to return to normal mode. ':' to begin entering a command, 'q' to actually quit, and to send the command. For safety, vim does not allow you to quit without saving. You can either override this behaviour by appending a '!' after 'q', to tell vim to quit without saving, or use ':' 'w' , while in normal mode, to save the file first. Writing and quitting can be combined into ':' 'w' 'q' to save and quit.