Skip to main content

tmux

tmux config examples

to change the default tmux prefix to Ctrl+a

unbind-key C-b
set-option -g prefix C-a
bind-key C-a send-prefix

installing tmux plugin manager

make sure xdg config home is set

``` echo 'export XDG_CONFIG_HOME="$HOME/.config"' >> ~/.profile ```

clong the github repo

git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm

put the following in the bottom of tmux.conf

# List of plugins

set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_status_modules_right "host application"
set -g @catppuccin_application_icon ">_"
set -g @catppuccin_host_icon "@"
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_left_separator " "

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

inside tmux press prefix I to install plugins (including tpm itself)