From 4ca158acffb798436ede54b4942d2e4a5212d1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 25 Sep 2014 11:43:29 +0200 Subject: Make '$' move to the last character of a line It is an inclusive movement, thus 'd$' works as expected. --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index a9c3456..0a59028 100644 --- a/config.def.h +++ b/config.def.h @@ -118,7 +118,7 @@ static KeyBinding vis_movements[] = { { { KEY(ENTER) }, movement, { .i = MOVE_SCREEN_LINE_DOWN } }, { { NONE('^') }, movement, { .i = MOVE_LINE_START } }, { { NONE('g'), NONE('_') }, movement, { .i = MOVE_LINE_FINISH } }, - { { NONE('$') }, movement, { .i = MOVE_LINE_END } }, + { { NONE('$') }, movement, { .i = MOVE_LINE_LASTCHAR } }, { { NONE('%') }, movement, { .i = MOVE_BRACKET_MATCH } }, { { NONE('b') }, movement, { .i = MOVE_WORD_START_PREV } }, { { NONE('B') }, movement, { .i = MOVE_WORD_START_PREV } }, -- cgit v1.2.3