1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 13:38:38 +01: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
commit f21a011eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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