Skip to content

Instantly share code, notes, and snippets.

@oudam-meas
Created July 14, 2018 00:25
Show Gist options
  • Save oudam-meas/535f9f165e9a0d7f4ce850d0eb7f5e86 to your computer and use it in GitHub Desktop.
Save oudam-meas/535f9f165e9a0d7f4ce850d0eb7f5e86 to your computer and use it in GitHub Desktop.

NeoSolarized

Install Neosolarized to neovim

Enable True color to iterm2 and tumx

  1. remove export TERM from ~/.zshrc, we dont need to explicitly define it.
  2. 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"
  1. install 'iCyMind/NeoSolarized' to vim
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment