mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Normal Mode Binding To Just Quit as a vim til
This commit is contained in:
8
vim/normal-mode-binding-to-just-quit.md
Normal file
8
vim/normal-mode-binding-to-just-quit.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Normal Mode Binding To Just Quit
|
||||
|
||||
I'm already familiar with the normal mode binding to write and quit -- `ZZ`.
|
||||
It turns out there is an equivalent binding to quit without writing. Hit
|
||||
`ZQ` and Vim will quit the current window disregarding any unsaved changes.
|
||||
This behaves in the same way as if you had executed the `:q!` command.
|
||||
|
||||
See `:help ZQ`.
|
||||
Reference in New Issue
Block a user