lambdalisue/vim-gita
View on GitHubClose partner window(s) of Gita diff/patch/chaperone
Open
#103 opened on Apr 13, 2016
enhancementhelp wanted
Repository metrics
- Stars
- (228 stars)
- PR merge metrics
- (PR metrics pending)
Description
Summary (required)
Users need to close each window manually which are created by :Gita diff, :Gita patch, or :Gita chaperone for now.
The partner window of the main window should be closed automatically. But how?
BufWinLeaveis close but it is not triggered when the main buffer is opened in another window as well.- Closing buffer in some autocmd raise (critical) exceptions
- How to cancel closing when user cancel closing in "there is a change, do you want to dicard?" message or whatever.