tmux: Make window-navigation bindings repeatable

This way the prefix only has to be pressed once. (As long as the key is
repeated in `repeat-time`)
This commit is contained in:
2022-05-09 16:04:00 +02:00
parent b096b30bbf
commit b7d333ef81

View File

@@ -38,6 +38,12 @@ set -g renumber-windows on
# of the prefix. (Exists already per default with prefix)
bind-key -n PPage copy-mode -u
# Repeatable window-navigation bindings
bind-key -r -T prefix n next-window
bind-key -r -T prefix C-n next-window
bind-key -r -T prefix p previous-window
bind-key -r -T prefix C-p previous-window
# Vim-bindings
# Enter copy-mode with Escape