summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2016-12-07 09:16:13 +0000
committernicm <nicm>2016-12-07 09:16:13 +0000
commita8f3ad448715cdb5bf0a4aa240064b4e86fae1e9 (patch)
treee95ff68a449136b3c3c025f0dd869d15e4a4154b /key-bindings.c
parent1a6156d8fdc1ff53cd5987a0e6d2d3eeaaadc2ed (diff)
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@.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c2
1 files changed, 2 insertions, 0 deletions
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",