TMUX Options

Command Flag Option Value
set-environment -g PATH "$PATH"
set -g mouse on
set -g base-index 1
set -g pane-base-index 1
set -g status-position top
set -g visual-activity off
set -g default-terminal "tmux-256color"
set -g detach-on-destroy off
set -gq allow-passthrough on
set-option -g default-shell /bin/zsh
set-option -g renumber-windows on
set-window-option -g pane-base-index 1
set-window-option -g mode-keys vi
set -g @plugin 'catppuccin/tmux#v2.1.2'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-fpp'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'wfxr/tmux-fzf-url'
set -g @catppuccin_flavor "mocha"
set -g @catppuccin_status_background "none"
set -g @catppuccin_window_status_style "basic"
set -g @catppuccin_window_text_color "#{E:@thm_mantle}"
set -g @catppuccin_window_current_text_color "#{E:@thm_mantle}"
set -g @catppuccin_window_text "#{b:pane_current_path}"
set -g @catppuccin_window_current_number_color "#{@thm_red}"
set -g @catppuccin_window_number_color "#{@thm_blue}"
set -g @catppuccin_window_current_text "#{b:pane_current_path}"
set -g @catppuccin_application_icon "󰘔"
set -g @catppuccin_session_icon ""
set -g status-left ""
set -g status-left-length 100
set -g status-right-length 100
set -g status-right ""
set -g status-right "#[bg=#{@thm_mantle},fg=#{@thm_yellow}]#{?window_zoomed_flag,󰩨 ,}"
set -ag status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -g @continuum-restore "on"
set -g @continuum-save-interval "5"
set -g @resurrect-capture-pane-contents "on"
set -wg automatic-rename on
set -g automatic-rename-format ''
set -g window-status-separator ''
set -g status-justify 'left'
set-option -wg popup-style bg=default

Keybindings

bind-key C-z resize-pane -Z
bind-key w run-shell -b "~/.tmux/plugins/tmux-fzf/scripts/window.sh switch"
bind-key s run-shell -b "~/.tmux/plugins/tmux-fzf/scripts/session.sh switch"
bind-key O run-shell "~/.config/scripts/fzf-bookmarks.sh > /dev/null 2>&1 &" # discard output after selecting
bind-key S run-shell "~/.config/scripts/fzf-search.sh > /dev/null 2>&1 &"
bind-key a run-shell "~/.config/scripts/fzf-alias.sh > /dev/null 2>&1 &"
bind-key j run-shell "~/.config/scripts/tmux-popup.sh"
bind-key i set status
bind B switch-client -l
bind r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
bind g display-popup -E -xC -yC -w 80% -h 80% -d "#{pane_current_path}" "~/.config/scripts/launch-lazygit.sh"
bind e display-popup -E -xC -yC -w 80% -h 80% -d "#{pane_current_path}" "open ."
bind D display-popup -E -xC -yC -w 80% -h 80% -d "#{pane_current_path}" lazydocker
bind % split-window -h -c "#{pane_current_path}"
bind '"' split-window -v -c "#{pane_current_path}"