Monday, July 1, 2013

netrw and the 'list' option

Why does netrw clobber it? I have been experiencing mysterious behavior with my 'list' option for years, and only recently was I finally able to track it down to netrw.

There is no reason to clobber it. BufExplorer seems to handle the 'list' option in a totally clean way, saving and restoring it with BufWinEnter and BufWinLeave autocommand, respectively. Actually, based on my own experimentation, I'm not even sure if saving and restoring it is necessary if the plugin were to just do `:setlocal nolist` instead of `:set nolist`. However, that behavior may be a recently added feature since the documentation doesn't seem to account for that scenario.

I can't be the first one to have noticed this, right?

...Aaron

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: