From 94b71bcb6403d381515319b08a85878b829785d5 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 5 Apr 2017 12:14:18 +0000 Subject: Add Home and End for copy mode. --- key-bindings.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- cgit