Install Neosolarized to neovim
Enable True color to iterm2 and tumx
- remove
export TERM
from~/.zshrc
, we dont need to explicitly define it. - add below line to ~/.tmux.config
# Use the xterm-256color terminal
set -g default-terminal "xterm-256color"
# Apply Tc
set-option -ga terminal-overrides ",xterm-256color:Tc"
- install
'iCyMind/NeoSolarized'
to vim - add below lines to vimrc
"Color Scheme and other UI
" for tmux color, if vim is opened in tmux, it's important to set these values
set t_8f=^[[38;2;%lu;%lu;%lum
set t_8b=^[[48;2;%lu;%lu;%lum
set termguicolors " tell vim to use termguicolor, it will render truecolor
syntax enable " enable syntax as per file format
set background=dark " using dark scheme
colorscheme NeoSolarized " finally, we set colorscheme to earlier install NeoSolarized
That's it.