lose vim colorscheme in tmux mode

后端 未结 20 1791
说谎
说谎 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:36

    I tried all the solutions above and what finally worked for me is putting the following lines in .tmux.conf:

    set -g default-terminal "xterm-256color"
    

提交回复
热议问题