projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe8ad4
)
adds ctrl+p and ctrl+n for ex history movement
author
Robert Timm
<mail@rtti.de>
Mon, 27 Feb 2017 22:26:37 +0000
(23:26 +0100)
committer
Robert Timm
<mail@rtti.de>
Mon, 27 Feb 2017 22:36:10 +0000
(23:36 +0100)
src/ex.c
patch
|
blob
|
history
diff --git
a/src/ex.c
b/src/ex.c
index
7f77950
..
65126fa
100644
(file)
--- 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;