vimmacvimtmuxvim-powerline

vim powerline + tmux not expanding to fill entire status line


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!


Solution

  • 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.