Skip to content

Commit

Permalink
update to be compatible with tmux 3
Browse files Browse the repository at this point in the history
reference: samoshkin#31
  • Loading branch information
hughplay authored Aug 31, 2021
1 parent cce4ab4 commit 47a7f6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ unbind "\$" # rename-session
unbind , # rename-window
unbind % # split-window -h
unbind '"' # split-window
unbind } # swap-pane -D
unbind { # swap-pane -U
unbind '}' # swap-pane -D
unbind '{' # swap-pane -U
unbind [ # paste-buffer
unbind ]
unbind "'" # select-window
Expand Down Expand Up @@ -105,7 +105,7 @@ bind L command-prompt -p "Link window from (session:window): " "link-window -s %

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

Expand Down

0 comments on commit 47a7f6c

Please sign in to comment.