tmux: Change fzf session switcher hotkey

Changed key to switch sessions from `<leader><c-j>` to `<leader><c-s>`,
mimicking the normal `s` tmux session switcher.
This commit is contained in:
Marty Oehme 2020-11-13 10:10:51 +01:00
parent 845b98d22d
commit 92016761f5
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 7 additions and 8 deletions

View file

@ -107,7 +107,7 @@ bind-key '\' split-window -h -c '#{pane_current_path}'
bind-key '-' split-window -v -c '#{pane_current_path}'
# Open a sessions chooser
bind C-j split-window -v "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$(tmux display-message -p '#S')\$\" | fzf --reverse | xargs tmux switch-client -t"
bind C-s split-window -v "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$(tmux display-message -p '#S')\$\" | fzf --reverse | xargs tmux switch-client -t"
#####################
## 4. THEME ##