Nerd tree: enter does not open sub dirs

2019-03-09 00:47发布

I installed NERDTree via Pathogen on Mac OSX 10.6.8.

When I vim a dir, I cannot enter into sub dirs with enter key. Furthermore, the dirs look like this:

?~V? doc/

What's going on?

标签: vim nerdtree
7条回答
啃猪蹄的小仙女
2楼-- · 2019-03-09 01:15

Check locale on your system, if output is something like this one LANG=C then do the following steps:

  1. sudo echo "LANG=en_US.UTF-8" >> /etc/locale.conf
  2. sudo locale-gen and sudo reboot

check your locale again. Hope this can solve your problem.

查看更多
登录 后发表回答