I'm currently using this on my .tmux.conf
bind -n C-h if "[ $(tmux display -p '#{pane_current_command}') = vim ]" "send-keys C-h" "select-pane -L"
bind -n C-j if "[ $(tmux display -p '#{pane_current_command}') = vim ]" "send-keys C-j" "select-pane -D"
bind -n C-k if "[ $(tmux display -p '#{pane_current_command}') = vim ]" "send-keys C-k" "select-pane -U"
bind -n C-l if "[ $(tmux display -p '#{pane_current_command}') = vim ]" "send-keys C-l" "select-pane -R"
This allows me to just press: ctrl + [hjkl] and I can move like in vim (left, down, up, right), but while entering copy mode in tmux:
ctrl + b + [
my bindings stop working and if I want to move I need to use the arrow keys:
ctrl + b + arrow keys
Any idea off how to keep the vim bindings work in copy mode or to make them permanent in whatever mode is use?
I would like to move across panels under copy mode, don't confuse this with trying to copy text vim-like.