aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-02-18 16:47:04 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-02-18 16:47:04 +0100
commitfe6949b78eda2703ed91f98053f66e428fdeb9c1 (patch)
tree43318dbeebe0dde2197a88c58ecfc70672e62e20
parent2b96fa270d3708751beed3f7334178d7713af2b9 (diff)
downloadvis-fe6949b78eda2703ed91f98053f66e428fdeb9c1.tar.gz
vis-fe6949b78eda2703ed91f98053f66e428fdeb9c1.tar.xz
vis: enable number increment <C-a> and decrement <C-x> in normal mode
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index faab0e8..9e8a0ed 100644
--- 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 */ },
};