diff options
author | Mark Lumsden <lum@cvs.openbsd.org> | 2015-09-24 07:08:00 +0000 |
---|---|---|
committer | Mark Lumsden <lum@cvs.openbsd.org> | 2015-09-24 07:08:00 +0000 |
commit | f16b75eb626c80ee6a753d9575fd6e9173ccd7d1 (patch) | |
tree | b20df0f5886125dd837528c6044b5d037a262a25 /usr.bin/mg/keymap.c | |
parent | 4394dc09dcc110b4bcf634b5b13d4cbe4f18f765 (diff) |
Add mark-paragraph. ok jasper@
Diffstat (limited to 'usr.bin/mg/keymap.c')
-rw-r--r-- | usr.bin/mg/keymap.c | 8 |
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 |