1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/vim/normal-mode-binding-to-just-quit.md
2019-02-01 13:54:47 -06:00

9 lines
350 B
Markdown

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