Loading ...
Sorry, an error occurred while loading the content.

netrw and the 'list' option

Expand Messages
  • Aaron Bohannon
    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
    Message 1 of 2 , Jul 1, 2013
    • 0 Attachment
      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@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Charles E Campbell
      ... Have you tried the latest netrw? Its up to v150b (http://www.drchip.org/astronaut/vim/index.html#NETRW). Regards, C Campbell -- -- You received this
      Message 2 of 2 , Jul 1, 2013
      • 0 Attachment
        Aaron Bohannon wrote:
        > 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
        >
        Have you tried the latest netrw? Its up to v150b
        (http://www.drchip.org/astronaut/vim/index.html#NETRW).

        Regards,
        C Campbell

        --
        --
        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@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.