From bd1d849b2033b04a372542c59d458d4f8279c937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 14 Apr 2016 21:36:19 +0200 Subject: vis: allow mapping of One should generally use in mappings: :map! normal h except for insert/replace mode where a literal space has to be used: :map! insert " " foo --- config.def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 2ca1a82..f01d556 100644 --- a/config.def.h +++ b/config.def.h @@ -51,7 +51,8 @@ static const KeyBinding bindings_motions[] = { { ",", ACTION(TOTILL_REVERSE) }, { "+", ALIAS("j^") }, { "-", ALIAS("k^") }, - { " ", ALIAS("l") }, + { " ", ALIAS("") }, + { "", ALIAS("l") }, { "", ALIAS("h") }, { "B", ACTION(CURSOR_LONGWORD_START_PREV) }, { "b", ACTION(CURSOR_WORD_START_PREV) }, -- cgit v1.2.3