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:
parent
845b98d22d
commit
92016761f5
2 changed files with 7 additions and 8 deletions
|
|
@ -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 ##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue