1
0
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:
jbranchaud
2019-02-01 13:54:47 -06:00
parent 901042a596
commit d876b7a1bf
2 changed files with 10 additions and 1 deletions

View 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`.