mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
Add Normal Mode Binding To Just Quit as a vim til
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
||||
|
||||
_752 TILs and counting..._
|
||||
_753 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -798,6 +798,7 @@ _752 TILs and counting..._
|
||||
- [Navigating By Blank Lines](vim/navigating-by-blank-lines.md)
|
||||
- [NETRW Listing Styles](vim/netrw-listing-styles.md)
|
||||
- [Next Modified Buffer](vim/next-modified-buffer.md)
|
||||
- [Normal Node Binding To Just Quit](vim/normal-mode-binding-to-just-quit.md)
|
||||
- [Open A Tag In A Split Window](vim/open-a-tag-in-a-split-window.md)
|
||||
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
|
||||
- [Open Routes File With vim-rails](vim/open-routes-file-with-vim-rails.md)
|
||||
|
||||
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