mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Provide User FugitiveEditor event
I'm not sure if this should trigger every time the buffer is loaded, or only on the initial split. Arbitrarily pick the latter for now. References: https://github.com/tpope/vim-fugitive/issues/1828
This commit is contained in:
@@ -656,6 +656,10 @@ FugitiveIndex After loading the |fugitive-summary| buffer.
|
||||
FugitivePager After loading a temp file created by a command like
|
||||
:Git --paginate or :Git blame.
|
||||
|
||||
*User_FugitiveEditor*
|
||||
FugitiveEditor After a :Git command (e.g., :Git commit) edits a file
|
||||
(e.g., the commit message).
|
||||
|
||||
*User_FugitiveChanged*
|
||||
FugitiveChanged After any event which can potentially change the
|
||||
repository, for example, any invocation of |:Git|.
|
||||
|
||||
Reference in New Issue
Block a user