gitsigns.nvim
gitsigns.nvim copied to clipboard
feat:add quit keymap for popup
add shortcut q to close the popup in preview
I don't really want to go with this.
Can't you just move the cursor instead?
if key git hunk preview twice, will enter preview window, q quit is useful; move the cursor is use for not enter the preview window will close preview window
I wondered for this kind of option too.
Many popups already support close with q or esc.
It would be nice to provide a configurable way to set it in on_attach and let the user decide for himself - let it be q or esc or even both.