Reputation: 23
When I try and open a file with a long name in netrw in a directory listing with file date showing it will open the file as testfile999 Sun 20 Feb.....
including the date hence resulting in a new file buffer not the file.
To reproduce:
Is there a setting to fix that.
Upvotes: 1
Views: 113
Reputation: 1
I added this to my .vimrc and it solved the issue:
let g:netrw_dynamic_maxfilenamelen = 32
Unfortunately, this also introduces a very specific issue when using liststyle=1 where some directories are shown as empty files. For now I can live with that.
Upvotes: 0