A simple and clean tmux configuration with enhanced color support for vim.
# Clone sctmux configuration
# Note: Tmux reads $HOME/.tmux.conf and $HOME/.config/tmux/tmux.conf
# Make sure $HOME/.tmux.conf does not exist
git clone https://github.com/davidzgli/sctmux.git ~/.config/tmux
# Clone Tmux Plugin Manager (optional)
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# Reload tmux configuration
tmux source ~/.config/tmux/tmux.conf- Plugin Manager: If you don't use the Tmux Plugin Manager (tpm), comment out the plugins section in the configuration
- Shell Configuration: If your default shell is fish, or shell switching is configured in
~/.bashrcor~/.bash_profile, comment out the fish shell related commands
If using tpm, press Prefix + I (capital I, as in Install) to fetch plugins in tmux.
If you're experiencing issues with vim color schemes not displaying properly inside tmux (showing only black and white text), see the comprehensive troubleshooting guide:
This guide covers how to properly configure tmux and vim for true color support.