On Thu, Sep 2, 2010 at 10:23 AM, Aarto Matti <aarto.matti@gmail.com> wrote:
Hi,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! * * UMiniBufExploreI 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?
Never mind, I used a combination of CursorMoved, CursorMovedI, BufWritePost and FileWritePost.
--
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