![]() ![]() ![]() How to Save File Without Quitting in VI or VIM Similarly you can use ZQ to quit vim/vi in general, but without saving the file. You’ll immediately save the current file and exit out of vi/VIM with ZZ. Press the ESC key, then hold the Shift key then press Z twice.Note the capitalization, which means the save and quit command is executed by pressing Escape, then holding the Shift key then pressing Z twice, thus: The simplest way to both save and quit out of VI or VIM is with a keyboard shortcut ZZ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |