summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/ksh/emacs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ksh/emacs.c b/bin/ksh/emacs.c
index 07bfbd91458..a990e12ddf9 100644
--- a/bin/ksh/emacs.c
+++ b/bin/ksh/emacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emacs.c,v 1.75 2017/11/26 20:34:15 jca Exp $ */
+/* $OpenBSD: emacs.c,v 1.76 2017/12/18 19:04:53 anton Exp $ */
/*
* Emacs-like command line editing and history
@@ -1536,6 +1536,8 @@ x_init_emacs(void)
kb_add(x_mv_end, NULL, CTRL('['), 'O', 'F', 0); /* end */
kb_add(x_mv_begin, NULL, CTRL('['), '[', '1', '~', 0); /* home */
kb_add(x_mv_end, NULL, CTRL('['), '[', '4', '~', 0); /* end */
+ kb_add(x_mv_begin, NULL, CTRL('['), '[', '7', '~', 0); /* home */
+ kb_add(x_mv_end, NULL, CTRL('['), '[', '8', '~', 0); /* end */
/* can't be bound */
kb_add(x_set_arg, NULL, CTRL('['), '0', 0);