Skip to content

Way to make dq to work outside of fugitive buffer? #2046

Answered by tpope
xiaochuanyu asked this question in Q&A
Discussion options

You must be logged in to vote

The underlying function is public so you can call it directly:

nmap <silent><script> <Leader>gg :<C-U>call fugitive#DiffClose()<CR>

This won't touch other tabs; Fugitive doesn't have anything for that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tpope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants