From ba46f3ba74e4a4a5cbe73dbab60c313b3a670c87 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 29 Nov 2019 21:05:50 +0100 Subject: [PATCH] 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. --- .config/tmux/tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index f22af89..c8445bc 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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"