Skip to content

Commit

Permalink
.tmux.conf: Easily cycle between open sessions
Browse files Browse the repository at this point in the history
Signed-off-by: Guru Das Srinagesh <gurooodas@gmail.com>
  • Loading branch information
guru-das-s committed Mar 30, 2024
1 parent 37981a5 commit 8fd1597
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ setw -g mode-keys vi
set -g base-index 1
setw -g pane-base-index 1

# Easily cycle between open tmux sessions
unbind (
bind-key 0 switch-client -p
unbind )
bind-key = switch-client -n

# Automatically renumber all windows/panes when one is killed
# e.g. 1 2 [3] 4 .... 3 is killed, results in:
# 1 2 3 .... and not 1 2 4, which would call for a :movew -r
Expand Down

0 comments on commit 8fd1597

Please sign in to comment.