How to appropriately wrap the longer file names?
mental2008 opened this issue · 3 comments
mental2008 commented
Hi, thanks for this great plugin!
I wonder if there is currently a way to wrap the file names appropriately when their length exceeds the width.
I have tried setting word wrapping in vim (i.e., set wrap
), but it looks a little weird as follows.
The better thing is that I can better view the mapping help.
weirongxu commented
You should modify the explorer.file.child.template
configuration. remove the modifier like growRight
.
mental2008 commented
You should modify the
explorer.file.child.template
configuration. remove the modifier likegrowRight
.
Thanks for your reply. It works well, though I have a few follow-up questions.
- What are the meanings of
growRight
andomitCenter
? I'm still confused about them after reading the documentation. - Is there any way to make text wrapping have auto indent so that the vertical lines are not cut off? See the following figure.
weirongxu commented
The existing features don‘t support line wrap very well, you can consider using the alternative features.
- Use the Il to toggle the floating preview function to view the long file names
- Use
adjustSize
action to resize the window