需要將tux中的color scheme改成256色,才能夠將原本的vim color scheme炫染出來。
兩種做法:
1. 啟動時,帶參數
$tmux -2
2. 修改~/.bashrc,加入設定(最後一行)。
兩種做法:
1. 啟動時,帶參數
$tmux -2
2. 修改~/.bashrc,加入設定(最後一行)。
export TERM="xterm-256color"
然後
$source ~/.bashrc
$tmux
ref:
http://aknow-work.blogspot.tw/2013/05/vim-color.html
http://superuser.com/questions/399296/256-color-support-for-vim-background-in-tmux