[Nix-dev] If anyone is using VIM and BYOBU (or Screen or Tmux) in 256 colors - would you please send me your configuration file?

Yasuaki Kudo yasu at yasuaki.com
Mon May 15 15:28:20 CEST 2017


Yes, already tried but no luck...  Is there any good nix config file that I can copy from someone 😊 that enables 256 colors,  VIM and terminal duplexer?    See I use Windows and only use NixOS through SSH, a terminal duplexer is a must 😊



-----Original Message-----
From: Eric Sagnes [mailto:eric.sagnes at gmail.com] 
Sent: Monday, May 15, 2017 21:51
To: Yasuaki Kudo <yasu at yasuaki.com>
Cc: nix-dev at lists.science.uu.nl
Subject: Re: [Nix-dev] If anyone is using VIM and BYOBU (or Screen or Tmux) in 256 colors - would you please send me your configuration file?

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
> nix-dev at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev


-- 
Eric Sagnes
サニエ エリック




More information about the nix-dev mailing list