Skip to content

Commit

Permalink
feat(tmux): switch windows keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Nov 1, 2024
1 parent feb28d4 commit 29d4e73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 29d4e73

Please sign in to comment.