set -g mouse on setw -g mode-style 'fg=black bg=blue bold' setw -g clock-mode-colour yellow set -g pane-border-style 'fg=red' set -g pane-active-border-style 'fg=yellow' set -g status-position bottom set -g status-justify left set -g status-style 'fg=red' set -g status-left '' set -g status-left-length 30 setw -g window-status-current-style 'fg=black bg=blue' setw -g window-status-current-format ' #I #W #F ' setw -g window-status-style 'fg=red bg=black' setw -g window-status-format ' #I #[fg=white]#W #[fg=yellow]#F ' setw -g window-status-bell-style 'fg=yellow bg=red bold' set -g message-style 'fg=yellow bg=red bold' set -g status-justify centre set-option -g prefix 'C-a' set -g history-limit 1000000 bind-key J resize-pane -D 5 bind-key K resize-pane -U 5 bind-key H resize-pane -L 5 bind-key L resize-pane -R 5 bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind-key v split-window -v -c "#{pane_current_path}" bind-key s split-window -h -c "#{pane_current_path}" setw -g mode-keys vi set-option -g status-right "" set -g base-index 1 bind r source-file ~/.tmux.conf \; display "Reloaded!" unbind -T copy-mode-vi Enter unbind -T copy-mode-vi Space bind-key -T edit-mode-vi Up send-keys -X history-up bind-key -T edit-mode-vi Down send-keys -X history-down bind-key -T copy-mode-vi 'v' send-keys -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' set -g default-terminal "tmux-256color" set -as terminal-features ",xterm-ghostty:RGB" bind-key y display-popup -d '#{pane_current_path}' -x R -h 95% -w 95% -E "emacsclient -t -a '' ." bind-key g popup -E -w 95% -h 95% -d '#{pane_current_path}' lazygit set -g allow-passthrough on set -ga update-environment TERM set -ga update-environment TERM_PROGRAM bind c new-window -c "#{pane_current_path}" bind-key z popup -E -w 95% -h 90% set -q -g status-utf8 on setw -q -g utf8 on set -s escape-time 50 set -g focus-events on bind-key e display-popup -w 95% -h 90% -E "tmux capture-pane -Jp -S- > /tmp/tmux-scrollback && emacsclient -t -a '' /tmp/tmux-scrollback"