Updated tmux config for prefix-S to switch sessions

This commit is contained in:
2023-10-03 08:34:06 -04:00
parent 5555c14327
commit 6cb0744e92
4 changed files with 17 additions and 16 deletions

View File

@@ -64,8 +64,6 @@ bind -T prefix k select-pane -U
bind -T prefix h select-pane -L
bind -T prefix l select-pane -R
bind-key -r K kill-pane
bind-key -r ! break-pane -d -n _hidden_pane
bind-key -r @ join-pane -s $.1
# Use Shift-arrow keys to navigate windows.
bind -n S-Left previous-window
@@ -73,7 +71,7 @@ bind -n S-Right next-window
bind-key -r f run-shell "tmux neww ~/.local/scripts/tmux-sessionator"
bind-key -r C run-shell "tmux neww ~/.local/scripts/tmux-sessionator ~/.dotfiles"
bind-key -r S run-shell "tmux neww ~/.local/scripts/ts"
bind-key -r S run-shell -b "~/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"
# reload new changes
bind-key r source-file ~/.config/tmux/tmux.conf\; \display-message "source-file done"