netrw formatting bug and improvement and documentation improvement
9 views
Skip to first unread message
Mark Waggoner
unread,
Mar 21, 2022, 2:37:17 PM3/21/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_dev
I have a small patch, below, for the netrw plugin.
I found that the netrw plugin didn't properly recognize the difference between netrw_sizestyle values of "h" and "H" if ignorecase is turned on.
I also prefer to have it format the size with a sometimes consistent width. I didn't go the the effort to compute how wide it needed to be in the patch below, bit it will make it align better much of the time.
Finally, I added a little bit to the netrw documentation to make the g:netrw_dynamic_maxfilenamelen setting easier to find.
@@ -2880,7 +2881,8 @@ If your screen is wider, and you have file or directory names longer than 32 bytes, you may set this option to keep listings - columnar. + columnar. + Also see |g:netrw_dynamic_maxfilenamelen|
*g:netrw_mkdir_cmd* command for making a remote directory via ssh (also see |g:netrw_remote_mkdir|)