1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

Merge pull request #3914 from kallekutta/vim-quit

[vim/en] Add shortcut for quit vim
This commit is contained in:
Divay Prakash
2020-04-24 12:04:12 +05:30
committed by GitHub

View File

@@ -24,6 +24,7 @@ specific points in the file, and for fast editing.
ZZ # Save file and quit vim
:q! # Quit vim without saving file
# ! *forces* :q to execute, hence quiting vim without saving
ZQ # Quit vim without saving file
:x # Save file and quit vim, shorter version of :wq
u # Undo