From afd4b933a2d717441be2ac96464039e51fbb0bc9 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 3 May 2022 17:47:19 +0200 Subject: [PATCH] tmux: Enter copy-mode w/o prefix on PageUp Enter copy-mode and scroll one page up directly with PageUp without the need of the prefix. This binding exists per default already in the prefix keytable. --- .config/tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 6bec2fc..55d1fa8 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -34,6 +34,10 @@ bind-key -T prefix F resize-pane -Z # Automatically renumber windows when closing one set -g renumber-windows on +# Enter copy-mode and scroll one page up directly with PageUp without the need +# of the prefix. (Exists already per default with prefix) +bind-key -n PPage copy-mode -u + # Vim-bindings # Enter copy-mode with Escape