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?
Thank you I figured it out - I simply had not specified any color scheme in .vimrc . The problem was immediately gone after I added some colorscheme line đ -Yasu -Original Message- From: Guillaume Maudoux (Layus) [mailto:layus...@gmail.com] Sent: Monday, May 15, 2017 23:17 To: nix-dev@lists.science.uu.nl; y...@yasuaki.com 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? I do use screen+vim, but there is zero config in my configuration.nix related to that. To support my terminal (rxvt-unicode-256color) I had to `ln -s ./.nix-profile/share/terminfo .terminfo`, and install rxvt_unicode to the distant machine. I also have `set t_Co=256` in my vim config. Maybe it helps when not autodetected by vim (wild guess here)? There may be more info in http://vim.wikia.com/wiki/256_colors_in_vim. Just my two cents, -- Layus. On 15/05/17 15:28, Yasuaki Kudo wrote: > 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.sag...@gmail.com] > Sent: Monday, May 15, 2017 21:51 > To: Yasuaki Kudo > Cc: nix-dev@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@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
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?
I do use screen+vim, but there is zero config in my configuration.nix related to that. To support my terminal (rxvt-unicode-256color) I had to `ln -s ./.nix-profile/share/terminfo .terminfo`, and install rxvt_unicode to the distant machine. I also have `set t_Co=256` in my vim config. Maybe it helps when not autodetected by vim (wild guess here)? There may be more info in http://vim.wikia.com/wiki/256_colors_in_vim. Just my two cents, -- Layus. On 15/05/17 15:28, Yasuaki Kudo wrote: 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.sag...@gmail.com] Sent: Monday, May 15, 2017 21:51 To: Yasuaki Kudo Cc: nix-dev@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@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
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?
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.sag...@gmail.com] Sent: Monday, May 15, 2017 21:51 To: Yasuaki Kudo Cc: nix-dev@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@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev -- Eric Sagnes ă”ăăš ăšăȘă㯠___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
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@lists.science.uu.nl > https://mailman.science.uu.nl/mailman/listinfo/nix-dev -- Eric Sagnes ă”ăăš ăšăȘă㯠___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] If anyone is using VIM and BYOBU (or Screen or Tmux) in 256 colors - would you please send me your configuration file?
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@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev