From b7072550a93e57c2c295fc5d42a2a1175ff530f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 25 Sep 2014 12:22:52 +0200 Subject: Implement '*' This still has a couple of problems: - it uses the regular expression search (because 'n' and 'N' should operate on the same search term) - the word should be deliminited not only by spaces but also by special symbols. this should be fixed once the word/WORD distinction gets implemented --- config.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 0a59028..ac0dfd7 100644 --- a/config.def.h +++ b/config.def.h @@ -142,6 +142,7 @@ static KeyBinding vis_movements[] = { { { NONE('H') }, movement, { .i = MOVE_WINDOW_LINE_TOP } }, { { NONE('M') }, movement, { .i = MOVE_WINDOW_LINE_MIDDLE} }, { { NONE('L') }, movement, { .i = MOVE_WINDOW_LINE_BOTTOM} }, + { { NONE('*') }, movement, { .i = MOVE_SEARCH_WORD } }, { { NONE('f') }, movement_key, { .i = MOVE_RIGHT_TO } }, { { NONE('F') }, movement_key, { .i = MOVE_LEFT_TO } }, { { NONE('t') }, movement_key, { .i = MOVE_RIGHT_TILL } }, -- cgit v1.2.3