How-to: Enable nvim color schemes in tmux windows
Published:
I am constantly using ssh to remotely login to different compute clusters
(e.g., DKRZ’s Levante, ECMWF’s Atos, local clusters at work, etc.). I find it
much more convenient to use a terminal-based text editor like
neovim coupled with the standard terminal
multiplexer tmux in order to switch easily
between several programs in one terminal. However, I quickly encountered an
issue where my neovim color scheme was not displayed when using it within tmux.
Fortunately, there’s an easy fix to this issue that I cover in this article. I
first show the problem and the expected behavior, diagnose the error, and then
correct it accordingly. I document the solution here and tie to use with
legacy systems.