lambdalisue/vim-gita

Close partner window(s) of Gita diff/patch/chaperone

Open

#103 opened on Apr 13, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Vim Script (8 forks)github user discovery
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?

  • BufWinLeave is 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.

Contributor guide