Files
dotfiles/tmux/.tmux.conf

38 lines
922 B
Bash

# bind a key to reload tmux config
unbind r
bind r source-file ~/.tmux.conf
# change the leader key
set -g prefix C-s
# Options to make tmux more pleasant
set -g mouse on
set -g default-terminal "tmux-256color"
# using vim motions
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# list of plugins
set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin '2kabhishek/tmux2k'
set -g @plugin 'catppuccin/tmux'
set-option -g status-position top
set -g @catppuccin_flavor 'mocha' # latte, frappe, macchiato or mocha
set -g @catppuccin_window_status_style "rounded"
# configure theme
# set -g @tmux2k-theme 'catppuccin'
# set -g @tmux2k-theme 'onedark'
# set -g @tmux2k-icons-only true
# Use window name instead of pane title
set -g @catppuccin_window_text "#W"
set -g @catppuccin_window_current_text "#W"
# initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'