at main 1.2 kB view raw
1# TMUX Leader 2set -g prefix C-Space 3 4# List of plugins 5set -g @plugin 'tmux-plugins/tpm' 6set -g @plugin 'tmux-plugins/tmux-cpu' 7set -g @plugin 'christoomey/vim-tmux-navigator' 8set -g @plugin 'catppuccin/tmux#v2.1.3' 9 10# Start index at 1 11set -g base-index 1 12set -g pane-base-index 1 13set-window-option -g pane-base-index 1 14set-option -g renumber-windows on 15 16# vim navigation 17bind-key h previous-window 18bind-key l next-window 19 20# Open panes in current dir and bind to non-defaults 21unbind '"' 22unbind % 23bind k split-window -v -c "#{pane_current_path}" 24bind j split-window -h -c "#{pane_current_path}" 25 26# Theme & Color 27set -g default-terminal "tmux-256color" 28set -ag terminal-features ",xterm-256color:RGB" 29set -g @catppuccin_flavor 'mocha' 30set-option -g status-position bottom 31set -g status-right-length 100 32set -g status-left-length 100 33set -g status-left "" 34set -g status-right "#{E:@catppuccin_status_application}" 35set -agF status-right "#{E:@catppuccin_status_cpu}" 36set -ag status-right "#{E:@catppuccin_status_uptime}" 37set -ag status-right "#{E:@catppuccin_status_session}" 38 39# Quick reloading 40unbind r 41bind r source-file ~/.tmux.conf 42 43# Enable mouse resizing 44set -g mouse on 45 46# Initialize TMUX plugin manager 47run '~/.tmux/plugins/tpm/tpm'