diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 6094c6c..7d8f69c 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -113,16 +113,16 @@ bind -n M-0 if-shell 'tmux select-window -t 10' '' 'new-window -t 10 -n 10 -c "# # Moving pane to window by Alt+Shift+Number -bind -n 'M-!' join-pane -d -h -t :1 -bind -n 'M-@' join-pane -d -h -t :2 -bind -n 'M-#' join-pane -d -h -t :3 -bind -n 'M-$' join-pane -d -h -t :4 -bind -n 'M-%' join-pane -d -h -t :5 -bind -n 'M-^' join-pane -d -h -t :6 -bind -n 'M-&' join-pane -d -h -t :7 -bind -n 'M-*' join-pane -d -h -t :8 -bind -n 'M-(' join-pane -d -h -t :9 -bind -n 'M-)' join-pane -d -h -t :10 +bind -n 'M-!' if-shell 'tmux join-pane -d -h -t :1' '' 'break-pane -t 1 -d -n 1' +bind -n 'M-@' if-shell 'tmux join-pane -d -h -t :2' '' 'break-pane -t 2 -d -n 2' +bind -n 'M-#' if-shell 'tmux join-pane -d -h -t :3' '' 'break-pane -t 3 -d -n 3' +bind -n 'M-$' if-shell 'tmux join-pane -d -h -t :4' '' 'break-pane -t 4 -d -n 4' +bind -n 'M-%' if-shell 'tmux join-pane -d -h -t :5' '' 'break-pane -t 5 -d -n 5' +bind -n 'M-^' if-shell 'tmux join-pane -d -h -t :6' '' 'break-pane -t 6 -d -n 6' +bind -n 'M-&' if-shell 'tmux join-pane -d -h -t :7' '' 'break-pane -t 7 -d -n 7' +bind -n 'M-*' if-shell 'tmux join-pane -d -h -t :8' '' 'break-pane -t 8 -d -n 8' +bind -n 'M-(' if-shell 'tmux join-pane -d -h -t :9' '' 'break-pane -t 9 -d -n 9' +bind -n 'M-)' if-shell 'tmux join-pane -d -h -t :10' '' 'break-pane -t 10 -d -n 10' # Swapping windows