config changes

This commit is contained in:
2025-06-18 18:28:08 -05:00
parent e5ad2c3cd4
commit 7e2e0bdc3a
4 changed files with 16 additions and 9 deletions

View File

@@ -27,11 +27,12 @@ unbind -T copy-mode-vi MouseDragEnd1Pane
# bind r to reload config
unbind r
bind r source-file ~/.tmux.conf
bind r source-file ~/.config/tmux/tmux.conf
# start panes and windows 1
set -g base-index 1
set -g pane-base-index 1
setw -g pane-base-index 1
set -g renumber-windows on # renumber windows when one is closed
# nav rebinds
@@ -48,9 +49,9 @@ bind -r m resize-pane -Z # maximize
# pane joining
bind J switch-client -T pane-management
bind-key -T pane-management \" command-prompt -p "join pane from:" "join-pane -s '%%' -h"
bind-key -T pane-management % command-prompt -p "join pane from:" "join-pane -s '%%' -h"
bind-key -T pane-management H command-prompt -p "join pane from:" "join-pane -s '%%' -f -h"
bind-key -T pane-management % command-prompt -p "join pane from:" "join-pane -s '%%' -v"
bind-key -T pane-management \" command-prompt -p "join pane from:" "join-pane -s '%%' -v"
bind-key -T pane-management V command-prompt -p "join pane from:" "join-pane -s '%%' -f -v"
bind-key -T pane-management B break-pane
bind-key -T pane-management S command-prompt -p "send pane to:" "join-pane -t '%%'"