mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +00:00
[vim/en] Add shortcut for quit vim
This commit is contained in:
parent
ecca2c3837
commit
429a03869c
@ -24,6 +24,7 @@ specific points in the file, and for fast editing.
|
|||||||
ZZ # Save file and quit vim
|
ZZ # Save file and quit vim
|
||||||
:q! # Quit vim without saving file
|
:q! # Quit vim without saving file
|
||||||
# ! *forces* :q to execute, hence quiting vim without saving
|
# ! *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
|
:x # Save file and quit vim, shorter version of :wq
|
||||||
|
|
||||||
u # Undo
|
u # Undo
|
||||||
|
Loading…
Reference in New Issue
Block a user