googler wrote:
>
> On Jul 29, 12:15 pm, Charles Campbell <[email protected]>
> wrote:
>   
>> googler wrote:
>>     
>>> I'm using netrw v132, maybe that is causing the problem?
>>>       
>> That version is getting old; I suggest getting v136k:
>>
>>  http://mysite.verizon.net/astronaut/vim/index.html#NETRW
>>
>>     
>>> Thanks for your help on this. It's pretty cool using vim like this, so
>>> I can simultaneously see the directory listing and open any file
>>> easily. I'm thinking of writing some script that will enable
>>> highlighting the name of the file on the directory listing if that
>>> file is currently the active buffer. Planning to start soon whenever I
>>> get some free time. I've never really written any vim script before,
>>> but hoping that this will be interesting.
>>>       
>> Probably should use the match command in the netrw buffer.  Glad you
>> like netrw!> Btw, is it possible to ask vim to not show the header in a 
>> directory
>>     
>>> listing? By header I mean the lines starting with " at the top of the
>>> directory listing.
>>>       
>> Currently the banner cannot be suppressed.
>>
>> Regards,
>> Chip Campbell
>>     
>
> Hello, if I have opened directory listing using :Explore and have the
> default liststyle set (that is I haven't set g:netrw_liststyle to 3
> yet), and then do ":let g:netrw_liststyle=3", it does not change to
> hierarchical listing. Until now I had been pressing the i key, so I
> didn't notice this. Is this a bug in netrw v132. Do you see this with
> v136?
>   

Changing a variable's value isn't immediately tied to a screen refresh, 
as can be the case
when changing a vim option via set.  Furthermore, different windows may 
have different
liststyles; g:netrw_liststyle acts as a default for a window.   The 
actual window liststyle is
w:netrw_liststyle.  So

  let w:netrw_liststyle= 3
  <ctrl-L>  (which causes a refresh)

will change the listing style.  You may note that pressing the "i" key 
several times does
not change g:netrw_liststyle (but it does change w:netrw_liststyle).
> I think it will be nice to have an option to hide the banner. It will
> be nice to have it implemented in future version of netrw (are you the
> author of this plugin?). Thanks.
>   
The banner is of variable length depending on a few options 
(hiding/showing/normal), whether
or not a target directory has been set for copying, etc.  I've added 
yet-another-option
(g:netrw_banner) which can be used to suppress banner display (v136l).  
I hope its obvious
that I haven't had time to test all the side effects of this change.

Regards,
Chip Campbell


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

Reply via email to