lose vim colorscheme in tmux mode

后端 未结 20 1740
说谎
说谎 2020-12-12 09:13

I\'m running iterm2 and when I\'m in tmux mode the colorscheme I have set in vim does not show up. Only the color scheme I\'ve set in iterm. If I run vim from shell the colo

20条回答
  •  醉梦人生
    2020-12-12 09:28

    If you find yourself in the same sitation as me, that none of the above worked.. try this:

    in .tmux.conf:

    set -g default-terminal "xterm"
    

    in bash config (maybe .bashrc or .bash_profile):

    alias tmux="tmux -2"
    

    and then run:

    killall tmux
    

    and then relaunch tmux

提交回复
热议问题