From e139f977b150d526b3403d7996fdc6690dea0932 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 11 Aug 2022 09:11:26 +0000 Subject: [PATCH] vi(1) Home/End bindings, from Markus F X J Oberhumer. --- key-bindings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/key-bindings.c b/key-bindings.c index bcc6004d..6ce9c14c 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -616,6 +616,8 @@ key_bindings_init(void) "bind -Tcopy-mode-vi '{' { send -X previous-paragraph }", "bind -Tcopy-mode-vi '}' { send -X next-paragraph }", "bind -Tcopy-mode-vi % { send -X next-matching-bracket }", + "bind -Tcopy-mode-vi Home { send -X start-of-line }", + "bind -Tcopy-mode-vi End { send -X end-of-line }", "bind -Tcopy-mode-vi MouseDown1Pane { select-pane }", "bind -Tcopy-mode-vi MouseDrag1Pane { select-pane; send -X begin-selection }", "bind -Tcopy-mode-vi MouseDragEnd1Pane { send -X copy-pipe-and-cancel }", -- 2.11.4.GIT