Skip to content

Instantly share code, notes, and snippets.

@dbonates
Created October 28, 2019 23:21
Show Gist options
  • Select an option

  • Save dbonates/a34626e7dd91f7ea1c805b02a6e5d57b to your computer and use it in GitHub Desktop.

Select an option

Save dbonates/a34626e7dd91f7ea1c805b02a6e5d57b to your computer and use it in GitHub Desktop.
changes on tmux and vim configs to support true color
# file: .tmux.conf
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
# file: .vimrc
if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment