From 29d4e73b9ccbeea257ec1b950ed7ecc73e1b89ed Mon Sep 17 00:00:00 2001 From: William Hsieh Date: Fri, 1 Nov 2024 16:54:44 +0800 Subject: [PATCH] feat(tmux): switch windows keymaps --- config/tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index c84322fa..043a8e11 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -95,6 +95,10 @@ bind -r C-k select-pane -U bind -r C-l select-pane -R + # switch windows + bind -n M-C-l next-window + bind -n M-C-h previous-window + # navigate between vim && tmux bind-key -n M-h if -F "#{@pane-is-vim}" 'send-keys M-h' 'select-pane -L' bind-key -n M-j if -F "#{@pane-is-vim}" 'send-keys M-j' 'select-pane -D'