4

I have vim and tmux set up. I'm trying to get vim-powerline to look like the first picture. I can achieve this if I have one instance of vim, then using :vsplit to achieve the following effect.

Vim splits with vim-powerline working fine

On the other hand, if I were to use vertical splits using tmux, vim-powerline ends up looking like the following:

Tmux splits with vim-powerline looking weird

I've tried to delete segments, but vim-powerline still truncates prematurely and extends to the next line.

I'm using Mac OSX Lion on iTerm2. vim comes from brew.

Any help would be appreciated!

Benjamin Tan Wei Hao
  • 9,621
  • 3
  • 30
  • 56

1 Answers1

5

I've tried reinstalling tmux/vim powerline and checking $COLUMNS and :set columns, but they just didn't look working. Try

export LANG=en_US.UTF-8

For me, it worked like a charm.

user1788578
  • 66
  • 1
  • 3
  • Just ran into this issue as well. To be on the safe side, set the configurations to UTF-8 in vim and tmux as well: `set encoding=utf-8` for vim and `set -g utf8 on` for tmux. – zmthy Feb 18 '13 at 15:22