Hyper: NERDTree in vim issue

Created on 18 Jul 2016  路  4Comments  路  Source: vercel/hyper

I use the NERDTree plugin for vim, but when I try to use it in hyperterm, it doesn't function, and gives me a weird display. I've tried changing my fonts, but that doesn't fix it.

screen shot 2016-07-18 at 10 16 12 am

Here's a screenshot of it in terminal

screen shot 2016-07-18 at 10 19 59 am

Most helpful comment

Ah! Interesting. Ok, so I added set encoding=utf-8 to my ~/.vimrc, and that fixed it! Thanks for the suggestion.

All 4 comments

I had a similar problem with tmux in HyperTerm. The fix for me was to run tmux with the -u flag (tmux -u). This tells tmux to explicitly use UTF-8 and solved the problem. Maybe something wonky is happening with UTF-8 in your shell or vim configuration?

Ah! Interesting. Ok, so I added set encoding=utf-8 to my ~/.vimrc, and that fixed it! Thanks for the suggestion.

set encoding=utf-8 corrects that problem with NERDTree but what about vim airline and its icons?, does anybody have the same problem?

@LagartoSeb, after setting encoding=utf-8 in my .vimrc file, vim airline start working again. Are you using the patched fonts for that plugin? (In my case, never worked with std fonts..).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cooperpellaton picture cooperpellaton  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

sarneeh picture sarneeh  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

leo picture leo  路  3Comments