A
A
Arthur Belan2020-06-04 23:38:57
git
Arthur Belan, 2020-06-04 23:38:57

How to quit editing a file?

Good afternoon/evening. How to exit editing a file, if I understand correctly, you need to press ESC, but after pressing the window flashes, what should I do, how to save and exit? 5ed95bcb01eab992001278.png
Sorry for the stupid question, I couldn't find the answer on google.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2020-06-04
@saboteur_kiev

Shift-ZZ
or
:q!
By default, apparently, the vi editor is registered, read the help on it, or change to another editor.

A
Andrey Barbolin, 2020-06-05
@dronmaxman

stackoverflow.com periodically makes statistics of the most popular questions on its forum.
The question "How to exit VIM" is in the TOP 10 )))
https://stackoverflow.com/questions/11828270/how-d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question