Wednesday, August 22, 2012

Re: Netrw settings - Problem with very long filenames

Hans Dampf wrote:
> Hello,
> I have run into a problem regarding the directory listing of netrw in vim.
> Im using gvim 7.3 under Win7 64bit.
>
> I use netrw_liststyle=1 (the long view with date) .
>
> My trouble is that at times the length of filenames in a directory can
> vary from something like "main.tpl.php" to something like
> "content.category.something_else.special.bonus.name.tpl.php" which
> destroys the alignment of the time-column.
>
> Is there any way to set the width of the columns for the filenames to
> avoid this issue?
Try v146m of netrw, available from my website
(http://www.drchip.org/astronaut/vim/index.html#NETRW), and see the help
for g:netrw_dynamic_maxfilenamelen .
You can already change the length; see :help g:netrw_maxfilenamelen.
With the dynamic setting enabled, the maximum filename length is used
(tnx to Takahiro Yoshihara).

Regards,
Chip 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

No comments:

Post a Comment