From: Robert Timm Date: Mon, 27 Feb 2017 22:26:37 +0000 (+0100) Subject: adds ctrl+p and ctrl+n for ex history movement X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=8b6a89dc070dd33c85eade752eb492bbae6bce89;p=vimb.git adds ctrl+p and ctrl+n for ex history movement --- diff --git a/src/ex.c b/src/ex.c index 7f77950..65126fa 100644 --- a/src/ex.c +++ b/src/ex.c @@ -262,11 +262,13 @@ VbResult ex_keypress(Client *c, int key) complete(c, -1); break; - case KEY_UP: + case KEY_UP: /* fall through */ + case CTRL('P'): history(c, TRUE); break; - case KEY_DOWN: + case KEY_DOWN: /* fall through */ + case CTRL('N'): history(c, FALSE); break;