vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit f641856dd6039f570dd2066016d622768f7a6fde parent 5f68c9a6bf512d15b82a2e323a14128f47301bd1 Author: Marc André Tanner <mat@brain-dump.org> Date: Thu, 18 Feb 2016 16:47:04 +0100 vis: enable number increment <C-a> and decrement <C-x> in normal mode Diffstat:
| M | config.def.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -246,6 +246,8 @@ static const KeyBinding bindings_normal[] = { { "<C-w>gf", ACTION(OPEN_FILE_UNDER_CURSOR_NEW_WINDOW) }, { "gn", ALIAS("vgn") }, { "gN", ALIAS("vgN") }, + { "<C-a>", ACTION(NUMBER_INCREMENT) }, + { "<C-x>", ACTION(NUMBER_DECREMENT) }, { 0 /* empty last element, array terminator */ }, };