Skip to main content

Add this line to your.tmux.conf tmux.conf file

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

Add the line below to you shells rc file in mycasemy case its my .zshrc.zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

Add the line below to your .vimrc.vimrc

  set t_Co=256

The above configuration works for me, but if this fails try to follow this link for another methor to fix Fixing Vim's Background Color

Add this line to your.tmux.conf file

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

Add the line below to you shells rc file in mycase its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

Add the line below to your .vimrc

  set t_Co=256

The above configuration works for me, but if this fails try to follow this link for another methor to fix Fixing Vim's Background Color

Add this line to your tmux.conf file

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

Add the line below to you shells rc file in my case its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

Add the line below to your .vimrc

set t_Co=256

The above configuration works for me, but if this fails try to follow this link for another methor to fix Fixing Vim's Background Color

added 267 characters in body
Source Link
byaruhaf
  • 786
  • 6
  • 9

Use 256 term for pretty colors, by usingAdd this setting inline to your  .tmux.conf file

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

Now if you need your $TERM to be xterm-256color outside of tmux, but screen-256color inside tmux. addAdd the line below to you shells rc file in mycase its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

Add the line below to your .vimrc

  set t_Co=256

The above configuration works for me, but if this fails try to follow this link for another methor to fix Fixing Vim's Background Color

Use 256 term for pretty colors, by using this setting in your  .tmux.conf file

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

Now if you need your $TERM to be xterm-256color outside of tmux, but screen-256color inside tmux. add the line below to you shells rc file in mycase its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

Add this line to your.tmux.conf file

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

Add the line below to you shells rc file in mycase its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

Add the line below to your .vimrc

  set t_Co=256

The above configuration works for me, but if this fails try to follow this link for another methor to fix Fixing Vim's Background Color

added 231 characters in body
Source Link
byaruhaf
  • 786
  • 6
  • 9

useUse 256 term for pretty colors, by using this setting in your .tmux.conf file

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

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

Now if you need your $TERM to be xterm-256color outside of tmux, but screen-256color inside tmux. add the line below to you shells rc file in mycase its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi

use 256 term for pretty colors, by using this setting in your .tmux.conf file

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

Use 256 term for pretty colors, by using this setting in your .tmux.conf file

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

Now if you need your $TERM to be xterm-256color outside of tmux, but screen-256color inside tmux. add the line below to you shells rc file in mycase its my .zshrc

if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi
Source Link
byaruhaf
  • 786
  • 6
  • 9
Loading