Nerdtree ^G before folder and file names OSX terminal vim
Asked Answered
D

2

13

There "^G" before names. It happens only when using vim in terminal. It is normal in MacVim.

Here's the image

I tried export LC_ALL=en_US.utf-8 export LANG="$LC_ALL" but it doesn't work.

Dineen answered 6/12, 2018 at 18:23 Comment(2)
Did you try to change arrow setting?Cake
Same happen in thereAccra
D
30

Put let g:NERDTreeNodeDelimiter = "\u00a0" in your .vimrc

Domett answered 10/12, 2018 at 15:13 Comment(0)
C
2

See the associated GitHub issue: the issue is that Mac's default vim doesn't have the conceal feature, and NERDTree doesn't do well in this case.

To fix it you can install Homebrew's vim, that is compiled with this feature, with brew install vim

Cramped answered 26/2, 2019 at 21:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.