feat(tmux): add bindings for moving to the next and prev session

This commit is contained in:
Sergio Laín 2024-07-31 18:35:40 +02:00
parent ea32c838b1
commit 978bcb889f
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -23,6 +23,10 @@ bind-key C command-prompt -p "Name of new window: " "new-window -c '#{pane_curre
bind-key l next-window
bind-key h previous-window
# Move to the next and prev session
bind j switch-client -n
bind k switch-client -p
# Swap windows
bind -r "<" swap-window -d -t -1
bind -r ">" swap-window -d -t +1