summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2021-08-11 20:35:46 +0000
committernicm <nicm>2021-08-11 20:35:46 +0000
commit01fd4b997e3a0a74ea57d6830cf97f98ea2c2a7c (patch)
treebdab5c3dc6f0a81c35545a4ce4a037d68cfd1537 /key-bindings.c
parent901360007479f176164ab2756072808fc17608c1 (diff)
Add pipe variants of the line copy commands. While here make the command
list less unreadable. GitHub issue 2813.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c
index ddb7e0b1..1bdbee98 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -476,7 +476,7 @@ key_bindings_init(void)
"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-and-cancel",
+ "bind -Tcopy-mode C-k send -X copy-pipe-end-of-line-and-cancel",
"bind -Tcopy-mode C-n send -X cursor-down",
"bind -Tcopy-mode C-p send -X cursor-up",
"bind -Tcopy-mode C-r command-prompt -T search -ip'(search up)' -I'#{pane_search_string}' 'send -X search-backward-incremental \"%%%\"'",
@@ -575,7 +575,7 @@ key_bindings_init(void)
"bind -Tcopy-mode-vi ? command-prompt -T search -p'(search up)' 'send -X search-backward \"%%%\"'",
"bind -Tcopy-mode-vi A send -X append-selection-and-cancel",
"bind -Tcopy-mode-vi B send -X previous-space",
- "bind -Tcopy-mode-vi D send -X copy-end-of-line-and-cancel",
+ "bind -Tcopy-mode-vi D send -X copy-pipe-end-of-line-and-cancel",
"bind -Tcopy-mode-vi E send -X next-space-end",
"bind -Tcopy-mode-vi F command-prompt -1p'(jump backward)' 'send -X jump-backward \"%%%\"'",
"bind -Tcopy-mode-vi G send -X history-bottom",