diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-25 12:22:52 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-25 12:22:52 +0200 |
| commit | b7072550a93e57c2c295fc5d42a2a1175ff530f6 (patch) | |
| tree | 50f76121e1ff8a582ae426b9000f24b4326e1dca /config.def.h | |
| parent | cef2c51df7e782452c8e2cc8f32dcb0931b3ac99 (diff) | |
| download | vis-b7072550a93e57c2c295fc5d42a2a1175ff530f6.tar.gz vis-b7072550a93e57c2c295fc5d42a2a1175ff530f6.tar.xz | |
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
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 } }, |
