summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-06 17:51:34 +0000
committernicm <nicm>2020-04-06 17:51:34 +0000
commit77b827f879e4dc296996b3f4345c38a7a57caf48 (patch)
treef92a43606e550f6ab6dac616cfcad5770a4966d4 /key-bindings.c
parentfccce69cf08b220ecad690e22451afd487e4b639 (diff)
Change copy mode to make copy of the pane history so it does not need to
freeze updates (which does not play nicely with some applications, a longstanding problem) and will allow some other changes later. From Anindya Mukherjee.
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 e9f175d0..3c6f8ff6 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -387,6 +387,7 @@ key_bindings_init(void)
"bind -Tcopy-mode g command-prompt -p'(goto line)' 'send -X goto-line \"%%%\"'",
"bind -Tcopy-mode n send -X search-again",
"bind -Tcopy-mode q send -X cancel",
+ "bind -Tcopy-mode r send -X refresh-from-pane",
"bind -Tcopy-mode t command-prompt -1p'(jump to forward)' 'send -X jump-to-forward \"%%%\"'",
"bind -Tcopy-mode Home send -X start-of-line",
"bind -Tcopy-mode End send -X end-of-line",
@@ -489,6 +490,7 @@ key_bindings_init(void)
"bind -Tcopy-mode-vi n send -X search-again",
"bind -Tcopy-mode-vi o send -X other-end",
"bind -Tcopy-mode-vi q send -X cancel",
+ "bind -Tcopy-mode-vi r send -X refresh-from-pane",
"bind -Tcopy-mode-vi t command-prompt -1p'(jump to forward)' 'send -X jump-to-forward \"%%%\"'",
"bind -Tcopy-mode-vi v send -X rectangle-toggle",
"bind -Tcopy-mode-vi w send -X next-word",