2017-07-04 59 views
0

我公司在開發TMUX Vim打開時,存在的問題是,當我使用j移動向下翻頁,顏色模式就會失去,我記錄我操作視頻,並上傳到YouTube:VIM在TMUX將失去色彩模式使用`j`移動向下翻頁

https://www.youtube.com/watch?v=ejNf2TPSc4E

正常顏色模式應該如下:

enter image description here

,但是當我試圖用j噸Ø向下移動,空格不包含的話會失去,成爲白色:

enter image description here

我用的石磨主題

+0

該網站是在https://開頭github上。 COM /口角/ solarized –

+1

https://github.com/altercation/vim-colors-solarized/issues/149或 https://superuser.com/questions/399296/256-color-support-for-vim-background -in-tmux 都處理類似問題 –

+0

@DoktorOSwaldo,謝謝'export TERM = screen-256color'解決了這個問題,我應該關閉這個答案嗎? – TangMonk

回答

0

export TERM=screen-256color解決了這個問題

+0

我相信你也可以用'-2'標誌啓動tmux。 ''強制tmux假設終端支持256種顏色。「 – Lix