Friday, May 7, 2010

making netrw buffers buflisted


I would like netrw buffers to be buflisted, so that they show up in the
various buffer selecting interfaces.

I've tried to achieve this using autocommands like this:

 au BufNew * if &ft == "netrw" | set buflisted | endif

But without success.  This above autocommand doesn't go off,
others that I've tried go off (verified by putting an echom instead of
set buflisted command), but then buflisted still ends up turned off
presumably because this happens later than the autocommand hook.

Anyone have a correct event or other recipe to achieve this?

Thanks,
Britton

--
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: