NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
3.71k stars 221 forks source link

Editor mappings for `ZZ` and `ZQ` #1299

Closed CKolkey closed 2 months ago

CKolkey commented 2 months ago

Add ZZ and ZQ mappings to editor buffers to properly handle when a user closes the buffer this way. ZZ should commit the change, while ZQ should abort.

Fixes #1296