disable c-j c-k bindings - interference with fzf
This commit is contained in:
parent
c3215d968e
commit
1637b70189
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user