Wednesday, January 27, 2010

Re: How to keep an external log of each file opened in vim?

Benjamin R. Haskell a écrit :
> > 2. With BufReadPre, you get log entries when using Vim's built-in 'help'
> > But, maybe that's fine for what you're using it for.

You are right, help files are logged. The solution I found is to wrap
the "redir" block in a "if &buftype != 'help'" and it now excludes
help
files.

Thanks!

--
Rémi Prévost
http://remiprevost.com
http://pubwich.org

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: