summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-05 12:14:18 +0000
committernicm <nicm>2017-04-05 12:14:18 +0000
commit94b71bcb6403d381515319b08a85878b829785d5 (patch)
tree865dddc96b30736e36ad759c20a6fe42aea7dcaa /key-bindings.c
parent36882ec789f29882ab7241e5d4c0572799163437 (diff)
Add Home and End for copy mode.
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 d96b51f6..37ff7fe7 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -260,6 +260,8 @@ key_bindings_init(void)
"bind -Tcopy-mode n send -X search-again",
"bind -Tcopy-mode q send -X cancel",
"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",
"bind -Tcopy-mode MouseDown1Pane select-pane",
"bind -Tcopy-mode MouseDrag1Pane select-pane\\; send -X begin-selection",
"bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-and-cancel",