jueves, 3 de abril de 2014

Vim scheme in Tmux session

If the Vim scheme (or other programs) are not shown in a Tmux session, you just need to indicate to Tmux to use 256 colour palette. It can be done by calling Tmux with "-2" parameter, or setting the environment variable TERM appropriately.

The best option I found is adding an alias into your .bashrc (in case of bash shell) with the appropriate tmux call.

alias tmux="tmux -2"
This one seems to give same results for me:

alias tmux="TERM=screen-256color-bce tmux"

No hay comentarios:

Publicar un comentario