overcache / NeoSolarized

NeoSolarized: A fixed solarized colorscheme for better truecolor support.
MIT License
517 stars 99 forks source link

xshell+ssh+zsh+tmux+vim #10

Closed tracyone closed 7 years ago

tracyone commented 7 years ago

My vim setting:(vim 8.0 )

" some color scheme....

Plug 'sjl/badwolf'
Plug 'iCyMind/NeoSolarized'
Plug 'cocopon/iceberg.vim'
Plug 'tomasr/molokai'
Plug 'morhetz/gruvbox'
Plug 'NLKNguyen/papercolor-theme'
Plug 'KabbAmine/yowish.vim'

" .....

let g:neosolarized_bold = 1
let g:neosolarized_underline = 1
let g:neosolarized_italic = 0
set background=dark
if (has("termguicolors"))
    set termguicolors
endif

My zsh setting:(zsh 5.2)

# run tmux
which tmux > /dev/null
if [[ $? -eq 0  ]]; then
    case $- in *i*)
        [ -z "$TMUX" ] && exec $(tmux -2)
    esac
fi
export TERM=xterm-256color

My tmux setting:(tmux 2.4)

set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g default-terminal "screen-256color"

NeoSolarized's color is not correct while papercolor-theme is correct.

overcache commented 7 years ago

sorry I'm not sure whether Xshell support truecolor or not. check https://gist.github.com/XVilka/8346728 to pick a software which support truecolor.

The papercolor-theme is a 256 color theme, so it works well. You should try the original solarized, it's a 256 color theme.

tracyone commented 7 years ago

@icymind just like following screen shot..The dark theme is not working as expected, while the light is ok.

screenshot