iTerm2 + tmux Setup Guide (under construction)
tmux
iterm2
terminal
macOS
Why I found this setup useful and how to set it up.
Step
- Install iTerm2
- Install tmux
Tmux Configuration
- Install Tmux Plugin Manager (TPM)
- Install vim-tmux-navigator
Basic Configuration
Install Tmux Plugin Manager (TPM)
- Create a
.tmux.conffile in your home directory, and open it in your favorite text editor.
Go to the github page of Tmux Plugin Manager and follow the installation instructions. What you need to do is the following:
Run
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmThen, open the .tmux.conf file and paste the following configuration into it:
If you don’t have a .tmux.conf file, create one in your home directory via touch ~/.tmux.conf.
Paste the following configuration into the .tmux.conf file:
set -g @plugin `tmux-plugins/tpm`
set -g @plugin `tmux-plugins/tmux-sensible
run `~/.tmux/plugins/tpm/tpm`Theme:
- To avoid confliction with Oh My ZSH, add the following line to your
.tmux.conffile:
`markdown set -g @catppuccin_window_text "#W" set -g @catppuccin_window_current_text "#W" + Also, make sure that a Nerd Font is installed on your computer and set as the font for iTerm2. I chose JetBrainsMono Nerd Font.
- Also, “Ensure every @catppuccin.* option is being set before the plugin is loaded. Loading occurs where you have run in your config file.”