tmux switch pane with alt comma/dot

This commit is contained in:
Christoph J. Scherr 2023-09-07 21:13:02 +02:00
parent a50670bc7d
commit e78ed1c650
1 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,9 @@ bind -T naming_table w command-prompt "rename-window '%%'"
set -g base-index 1 set -g base-index 1
set-window-option -g pane-base-index 1 set-window-option -g pane-base-index 1
# next window with alt-k, last with alt-j, no prefix needed. # next window with alt-<comma>, last with alt-<dot>, no prefix needed.
bind -n M-j previous-window bind -n M-, previous-window
bind -n M-k next-window bind -n M-. next-window
# tmux modes stuff. we have default mode and copy mode. # tmux modes stuff. we have default mode and copy mode.
# change the copy mode key to prefix-N , the default config isnt good for qwertz keyboards. # change the copy mode key to prefix-N , the default config isnt good for qwertz keyboards.