Nerd tree: enter does not open sub dirs

前端 未结 7 2150
天涯浪人
天涯浪人 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:12

    I'm using RedHat 6.1 and vim 7.3 and had to recompile vim with multibyte support.

    $ cd ~/src && wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
    $ tar xjf vim-7.3.tar.bz2 && cd vim-7.3
    $ ./configure --enable-multibyte
    $ make
    $ sudo make install
    

    Then verify that multibyte support has been enabled.

    $ vim --version | grep byte
    -arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent 
    +mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
    

提交回复
热议问题