Skip to content

Commit 47a7f6c

Browse files
authored
update to be compatible with tmux 3
reference: samoshkin#31
1 parent cce4ab4 commit 47a7f6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tmux/tmux.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ unbind "\$" # rename-session
3838
unbind , # rename-window
3939
unbind % # split-window -h
4040
unbind '"' # split-window
41-
unbind } # swap-pane -D
42-
unbind { # swap-pane -U
41+
unbind '}' # swap-pane -D
42+
unbind '{' # swap-pane -U
4343
unbind [ # paste-buffer
4444
unbind ]
4545
unbind "'" # select-window
@@ -105,7 +105,7 @@ bind L command-prompt -p "Link window from (session:window): " "link-window -s %
105105

106106
# Swap panes back and forth with 1st pane
107107
# When in main-(horizontal|vertical) layouts, the biggest/widest panel is always @1
108-
bind \ if '[ #{pane_index} -eq 1 ]' \
108+
bind '\' if '[ #{pane_index} -eq 1 ]' \
109109
'swap-pane -s "!"' \
110110
'select-pane -t:.1 ; swap-pane -d -t 1 -s "!"'
111111

0 commit comments

Comments
 (0)