summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authornicm <nicm>2022-08-11 09:11:26 +0000
committernicm <nicm>2022-08-11 09:11:26 +0000
commite139f977b150d526b3403d7996fdc6690dea0932 (patch)
tree82a00bbd2e88b316e584c68c7d178edbf767f0b7 /key-bindings.c
parent273577ba0a88c8a373bc8a2ded7e6a08b82114d0 (diff)
vi(1) Home/End bindings, from Markus F X J Oberhumer.
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 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 }",