config changes
This commit is contained in:
7
env/.config/tmux/tmux.conf
vendored
7
env/.config/tmux/tmux.conf
vendored
@@ -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 '%%'"
|
||||
|
||||
Reference in New Issue
Block a user