Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with tmux terminal #35

Open
nshigit opened this issue Feb 16, 2016 · 6 comments
Open

Not compatible with tmux terminal #35

nshigit opened this issue Feb 16, 2016 · 6 comments

Comments

@nshigit
Copy link

nshigit commented Feb 16, 2016

I am using xshell 5.0 from NetSarang.
My LinuxBox is Debian GNU/Linux 8 (jessie) x86_64
vim version is VIM - Vi IMproved 7.4,
'hybrid' is install by https://github.com/kepbod/ivim

Hybrid works fine in xshell but it can't show correctly in tmux environment.

tmux
xshell

@w0ng
Copy link
Owner

w0ng commented Feb 17, 2016

What's the output of echo $TERM when you're in xshell by itself, and what's the output when tmux is running?

Try adding in your ~/.tmux.conf

set-option -g default-terminal "screen-256color"

If that doesn't help, try adding in your ~/.vimrc:

set t_Co=256

@nshigit
Copy link
Author

nshigit commented Feb 17, 2016

echo $TERMscreen
After modified .tmux.conf,$TERM is 'screen-256color',it doesn't work.Adding "set t_Co=256' doesn't work too.
Date: Wed, 17 Feb 2016 00:45:27 -0800
From: notifications@github.com
To: vim-hybrid@noreply.github.com
CC: nshi_nb@hotmail.com
Subject: Re: [vim-hybrid] Not compatible with tmux terminal (#35)

What's the output of echo $TERM when you're in xshell by itself, and what's the output when tmux is running?

Try adding in your ~/.tmux.conf

set-option -g default-terminal "screen-256color"

If that doesn't help, try adding in your ~/.vimrc:

set t_Co=256


Reply to this email directly or view it on GitHub.

@w0ng
Copy link
Owner

w0ng commented Feb 18, 2016

Sorry, not sure what's up. Sounds like a terminal issue. Does the same thing happen with other terminals on windows e.g. KiTTY/PuTTY, or other vim themes?

@trcjr
Copy link
Contributor

trcjr commented Mar 5, 2016

Try adding

set-option -g default-terminal "screen-256color"

to ~/.tmux.conf

@kepbod
Copy link

kepbod commented Mar 18, 2016

Try to open tmux with -2 option
tmux -2

@selfuryon
Copy link

I have the same issue. When i use tmux -2 all works fine but it's some annoying... Setting screen-256color and set t_Co=256 didn't help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants