Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

vim/nvim with tmux in macOS Terminal - how do colors work?

I decided to give up trying to understand the magic (or the lack) of how colors work in Terminal with tmux and vim/nvim:

vim and nvim in tmux in Terminal on macOS

Just for reference:

  • the Terminal app in macOS (10.12 or 10.13)
  • it is declaring the terminal as xterm-256color
  • tmux is version 2.6
  • .tmux.conf:
    set -s default-terminal "screen-256color"
    set -as terminal-overrides ",*-256color:Tc"
  • nvim 0.2.2 with:

    let $TERM="screen-256color"
    set termguicolors

Don't be the product, buy the product!

Schweinderl