Skip to content

Commit

Permalink
Add bind to swap tmux window left/right
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinjasaur committed Jun 22, 2018
1 parent 83c164e commit c389080
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ bind - split-window -v
# G to last window
bind 'C-\' last-window

# Move windows left/right
bind -n M-H swap-window -t -1
bind -n M-L swap-window -t +1

# Start window index at 1 (match keyboard order)
set -g base-index 1
setw -g pane-base-index 1
Expand Down

0 comments on commit c389080

Please sign in to comment.