From 1637b701891b9fa26654adc5fe9eb4f063552b01 Mon Sep 17 00:00:00 2001 From: Kacper Marzecki Date: Sun, 16 Mar 2025 23:30:41 +0100 Subject: [PATCH] disable c-j c-k bindings - interference with fzf --- .tmux.conf | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 5920be4..38906c0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -16,7 +16,6 @@ bind r source-file ~/.tmux.conf # bind -n M-S-Right select-pane -R # bind -n M-S-Up select-pane -U # bind -n M-S-Down select-pane -D -bind -n C-g display-popup -E "tmux new-session -A -s scratch" #bind -n C-c display-popup -C "tmux new-session -A -s scratch" # Enable mouse control (clickable windows, panes, resizable panes) @@ -95,8 +94,8 @@ version_pat='s/^tmux[^0-9]*([.0-9]+).*/\1/p' is_vim="ps -o state= -o comm= -t '#{pane_tty}' \ | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'" bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L" -bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D" -bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U" +# bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D" +# bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U" bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R" @@ -105,8 +104,8 @@ bind-key \\ run-shell 'tmux-td' # bind-key \\ run-shell "tmux display-popup -E 'tmux detach-client'" bind-key -T copy-mode-vi C-h select-pane -L -bind-key -T copy-mode-vi C-j select-pane -D -bind-key -T copy-mode-vi C-k select-pane -U +# bind-key -T copy-mode-vi C-j select-pane -D +# bind-key -T copy-mode-vi C-k select-pane -U bind-key -T copy-mode-vi C-l select-pane -R # END Navigator.nvim keybinds