From 374ceb4916820204714b79f75fdd6fe580bf750d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 12 Sep 2014 10:29:33 +0200 Subject: Make normal mode command 'x' undoable --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }, -- cgit v1.2.3