diff options
author | nicm <nicm> | 2021-08-09 13:08:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-09 13:08:08 +0000 |
commit | be5988457f2993d5a6efa5f6d5add37690ea6a30 (patch) | |
tree | fbb54cad39ce83bd8d8b1719d5a54661993138aa /key-bindings.c | |
parent | 24cd6851f6a4e0152f59d22bf446e553cd7f23f9 (diff) | |
download | rtmux-be5988457f2993d5a6efa5f6d5add37690ea6a30.tar.gz rtmux-be5988457f2993d5a6efa5f6d5add37690ea6a30.tar.bz2 rtmux-be5988457f2993d5a6efa5f6d5add37690ea6a30.zip |
Change copy-line and copy-end-of-line not to cancel and add -and-cancel
variants, like the other copy commands. GitHub issue 2799.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c index de5c20ee..ddb7e0b1 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", + "bind -Tcopy-mode C-k send -X copy-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", + "bind -Tcopy-mode-vi D send -X copy-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", |