Fix tmux split pane keybind
Horizontal pane splitting with \ stopped working, it apparently needs to be quoted in order to be registered correctly. Vertical keybinding still worked, but to keep consistency was quoted as well.
This commit is contained in:
parent
2f18a9d5ff
commit
ba46f3ba74
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ bind-key x kill-pane
|
|||
bind-key C-x kill-window
|
||||
|
||||
# Split Window into panes - automatically handled by plugin
|
||||
bind-key \ split-window -h -c '#{pane_current_path}'
|
||||
bind-key - split-window -v -c '#{pane_current_path}'
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue