1

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:

terminal_screen_in_tmux

Vim in terminal:

vim_in_terminal

Vim in tmux

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.