Skip to content

Instantly share code, notes, and snippets.

@HallexCosta
Last active May 5, 2021 05:06
Show Gist options
  • Select an option

  • Save HallexCosta/c966a44bcf332a1c6d6260ff6aad82ce to your computer and use it in GitHub Desktop.

Select an option

Save HallexCosta/c966a44bcf332a1c6d6260ff6aad82ce to your computer and use it in GitHub Desktop.
How to active 256 color in Tmux with Neovim
# Init a new instance tmux
$ tmux

# Override xterm-256color:Tc for active true colors of TMUX
$ tmux set-option -ga terminal-overrides ",xterm-256color:Tc"

# Disconnect of session (without exit)
$ tmux detach

# Join in session (no starting a new session)
$ tmux attach

# Congratulations, your tmux config options will be load when join in session detached

References:

https://deductivelabs.com/blog/tech/using-true-color-vim-tmux/ https://www.philipdaniels.com/blog/2019/tmux-and-vim-in-truecolor/

Solved

tmux/tmux#2571

P.S.: The file is called .tmux.conf not .tmux.config.

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