I'm new to Ubuntu. Recently I installed tmux on my Ubuntu 16.04.

The terminal screen in tmux shows 256 color correctly. However, when I opened vim in tmux, the color was different from what normally showed in terminal.

I tried adding set -g default-terminal "screen-256color" in my .tmux.conf file but the problem still exists.

Terminal screen in tmux:


Vim in terminal:


Vim in tmux


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.