aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-11 10:35:44 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-11 10:35:44 +0200
commit4ccf90a3be436ca2a9badf05d9b6a263ecde520c (patch)
tree76b30c0851d9c8cb620760f5e30e94e30322effa
parent19158a21183d28f4c2abfa5ddbcd30a86bd17c47 (diff)
downloadvis-4ccf90a3be436ca2a9badf05d9b6a263ecde520c.tar.gz
vis-4ccf90a3be436ca2a9badf05d9b6a263ecde520c.tar.xz
Add normal mode command 'X'
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index e8247ff..cac2f8c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -356,6 +356,7 @@ static KeyBinding vis_normal[] = {
{ { NONE('S') }, operator_twice, { .i = OP_CHANGE } },
{ { NONE('s') }, change, { .i = MOVE_CHAR_NEXT } },
{ { NONE('Y') }, operator_twice, { .i = OP_YANK } },
+ { { NONE('X') }, delete, { .i = MOVE_CHAR_PREV } },
{ { NONE('u') }, undo, { NULL } },
{ { CONTROL('R') }, redo, { NULL } },
{ { CONTROL('L') }, call, { .f = editor_draw } },