aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-04 18:01:36 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-04 18:04:13 +0100
commit7690c6cccc97d2df30d96c7e822bbfcf5118385b (patch)
tree9d7d94e7f933134d1d3f28f0496042995a4c878a
parentce73d7983ae57784d269d15b0e663d8ff03c8b4d (diff)
downloadvis-7690c6cccc97d2df30d96c7e822bbfcf5118385b.tar.gz
vis-7690c6cccc97d2df30d96c7e822bbfcf5118385b.tar.xz
vis: fix definition of space motion
We do not instruct libtermkey to specially report the space key. Hence it is not reported as <Space> but simply as a " " (0x20). Closes #89
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 00e72e7..f47034b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -24,7 +24,7 @@ static KeyBinding vis_movements[] = {
{ "<Backspace>", ALIAS("h") },
{ "<C-h>", ALIAS("<Backspace>") },
{ "l", ACTION(CURSOR_CHAR_NEXT) },
- { "<Space>", ALIAS("l") },
+ { " ", ALIAS("l") },
{ "k", ACTION(CURSOR_LINE_UP) },
{ "C-p", ALIAS("k") },
{ "j", ACTION(CURSOR_LINE_DOWN) },