aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-12 10:29:33 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-12 10:29:33 +0200
commit374ceb4916820204714b79f75fdd6fe580bf750d (patch)
tree153c1d44fe9837d9e835cec2070fe43ec0c10654
parent838631bc7d6d242ea168f3ed4206cf3c51b63733 (diff)
downloadvis-374ceb4916820204714b79f75fdd6fe580bf750d.tar.gz
vis-374ceb4916820204714b79f75fdd6fe580bf750d.tar.xz
Make normal mode command 'x' undoable
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 62fce25..b8bbdd5 100644
--- a/config.def.h
+++ b/config.def.h
@@ -344,7 +344,7 @@ static KeyBinding vis_normal[] = {
{ { NONE('o') }, openline, { .i = MOVE_LINE_NEXT } },
{ { NONE('O') }, openline, { .i = MOVE_LINE_PREV } },
{ { NONE('J') }, joinline, { .i = MOVE_LINE_NEXT } },
- { { NONE('x') }, call, { .f = editor_delete_key } },
+ { { NONE('x') }, delete, { .i = MOVE_CHAR_NEXT } },
{ { NONE('r') }, replace, { NULL } },
{ { NONE('i') }, switchmode, { .i = VIS_MODE_INSERT } },
{ { NONE('v') }, switchmode, { .i = VIS_MODE_VISUAL } },