Nerd tree: enter does not open sub dirs

前端 未结 7 2167
天涯浪人
天涯浪人 2020-12-23 21:50

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:

7条回答
  •  佛祖请我去吃肉
    2020-12-23 22:04

    If you'd still like to try to get the arrow characters to work, here is my answer from Why does my nerd tree have these odd characters. I run Arch Linux, so your mileage may vary.

    I had this exact same problem and was able to fix it by uncommenting UTF-8 and leaving ISO-8879-1 commented out in /etc/locale.gen. Then I ran locale-gen and restarted. Also added 'export LANG=en_US.UTF-8' to my .bashrc. Here are the results of my locale settings once it started working:

    [lysistrata@(none) ~]$ locale -a
    C
    en_US.utf8
    POSIX
    [lysistrata@(none) ~]$
    

提交回复
热议问题