From a8f3ad448715cdb5bf0a4aa240064b4e86fae1e9 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 7 Dec 2016 09:16:13 +0000 Subject: Make prefix work in all tables (except the prefix table). Users who want to avoid this can set prefix to "none" and bind send-prefix themselves. Allows C-b t be bound in the copy mode tables again, pointed out by millert@. --- key-bindings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'key-bindings.c') diff --git a/key-bindings.c b/key-bindings.c index e8eedca5..25290a4a 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -238,6 +238,7 @@ key_bindings_init(void) "bind -Tcopy-mode C-c send -X cancel", "bind -Tcopy-mode C-e send -X end-of-line", "bind -Tcopy-mode C-f send -X cursor-right", + "bind -Tcopy-mode C-b send -X cursor-left", "bind -Tcopy-mode C-g send -X clear-selection", "bind -Tcopy-mode C-k send -X copy-end-of-line", "bind -Tcopy-mode C-n send -X cursor-down", @@ -300,6 +301,7 @@ key_bindings_init(void) "bind -Tcopy-mode-vi C-c send -X cancel", "bind -Tcopy-mode-vi C-d send -X halfpage-down", "bind -Tcopy-mode-vi C-e send -X scroll-down", + "bind -Tcopy-mode-vi C-b send -X page-up", "bind -Tcopy-mode-vi C-f send -X page-down", "bind -Tcopy-mode-vi C-h send -X cursor-left", "bind -Tcopy-mode-vi C-j send -X copy-selection-and-cancel", -- cgit