ahw / vim-hooks

Easily hook shell scripts into Vim autocmd events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically re-run :FindHookFiles when a hook file has been edited

ahw opened this issue · comments

Listen for BufWritePost on buffers that have "vimhook" in the name. Or check some sort of modified flag or something like that. Super naive but easy way is just run :FindVimHooks whenever the :ListVimHooks window is closed.

Implemented in 9633605.