I'm using MiniBufExplorer, and I want it's buffer to be updated whenever buffer's modified flag ([+] in statusline) gets changed, but I couldn't find an appropriate autocmd for it. There is FileChangedRO event, but why it's only for read-only files? So, I added this au to my .vimrc:
autocmd! * * UMiniBufExplore
I think it's far for an optimal solution as it reacts on every possible event, and in some case other than UMiniBufExplore call it may slowdown vim a lot. Any better way?
--
aarto
-- You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment