For tmux, having the following in your ~/.tmux.conf should be enough: ``` set -g default-terminal "screen-256color" ```
Or running tmux with the `-2` flag should force tmux to use 256 colors: ``` $ tmux -2 ``` On Mon, May 15, 2017 at 09:28:21PM +0900, Yasuaki Kudo wrote: > I just can't get VIM to work in 256 colors in any terminal duplexer, I don't > know what to do. At least, when I use Byobu from NIXOS, I can run some > 256-color confirmation script and see that it's enabled. However, if I > launch VIM, it doesn't work in 256 colors. Exiting Byobu, VIM does work in > 256 colors. > > > > My version is as follows: > > 17.03.1013.bc11395603 (Gorilla) > > > > Cheers > > Yasu > > > > _______________________________________________ > nix-dev mailing list > [email protected] > https://mailman.science.uu.nl/mailman/listinfo/nix-dev -- Eric Sagnes サニエ エリック _______________________________________________ nix-dev mailing list [email protected] https://mailman.science.uu.nl/mailman/listinfo/nix-dev
