summaryrefslogtreecommitdiff
path: root/usr.bin/mg/keymap.c
diff options
context:
space:
mode:
authorMark Lumsden <lum@cvs.openbsd.org>2015-09-24 07:08:00 +0000
committerMark Lumsden <lum@cvs.openbsd.org>2015-09-24 07:08:00 +0000
commitf16b75eb626c80ee6a753d9575fd6e9173ccd7d1 (patch)
treeb20df0f5886125dd837528c6044b5d037a262a25 /usr.bin/mg/keymap.c
parent4394dc09dcc110b4bcf634b5b13d4cbe4f18f765 (diff)
Add mark-paragraph. ok jasper@
Diffstat (limited to 'usr.bin/mg/keymap.c')
-rw-r--r--usr.bin/mg/keymap.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c
index 7e985e12954..efdb1b2e996 100644
--- a/usr.bin/mg/keymap.c
+++ b/usr.bin/mg/keymap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keymap.c,v 1.55 2015/03/19 21:48:05 bcallah Exp $ */
+/* $OpenBSD: keymap.c,v 1.56 2015/09/24 07:07:59 lum Exp $ */
/* This file is in the public domain. */
@@ -268,7 +268,9 @@ static PF metasqf[] = {
capword, /* c */
delfword, /* d */
rescan, /* e */
- forwword /* f */
+ forwword, /* f */
+ rescan, /* g */
+ markpara /* h */
};
static PF metal[] = {
@@ -333,7 +335,7 @@ struct KEYMAPE (8) metamap = {
'*', '>', metami, NULL
},
{
- '[', 'f', metasqf, (KEYMAP *) &metasqlmap
+ '[', 'h', metasqf, (KEYMAP *) &metasqlmap
},
{
'l', '}', metal, NULL