Close diff window with q #1210
Answered
by
lewis6991
Muizzyranking
asked this question in
Q&A
-
Is there an identifier for the diff window? So I can create an autocmd to close the diff window with q instead of the usual command to close widows. |
Beta Was this translation helpful? Give feedback.
Answered by
lewis6991
Feb 8, 2025
Replies: 1 comment 1 reply
-
You can check |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Muizzyranking
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can check
vim.o.diff
and whether the buffer name starts withgitsigns://