diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-12-28 14:40:26 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-12-28 14:51:59 +0100 |
| commit | 0b082239bc60f0a6a3cb743b38a63684652ae649 (patch) | |
| tree | 0195fad9b9f4588601fd4980e4c11c1acf14064e /config.def.h | |
| parent | 41b235584feeb492d082cdc7bbb735cc49b08180 (diff) | |
| download | vis-0b082239bc60f0a6a3cb743b38a63684652ae649.tar.gz vis-0b082239bc60f0a6a3cb743b38a63684652ae649.tar.xz | |
vis: rename to/till motion internals
This renames the functions and constants implementing the to/till motions.
The new names should indicate that matches are only returned within the
current line (not globally). Apart from the changed virtual key/command
name this contains no functional changes.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index 61b97b3..ad2ac33 100644 --- a/config.def.h +++ b/config.def.h @@ -49,8 +49,8 @@ static const KeyBinding bindings_motions[] = { { "b", ACTION(CURSOR_WORD_START_PREV) }, { "E", ACTION(CURSOR_LONGWORD_END_NEXT) }, { "e", ACTION(CURSOR_WORD_END_NEXT) }, - { "F", ACTION(TO_LEFT) }, - { "f", ACTION(TO_RIGHT) }, + { "F", ACTION(TO_LINE_LEFT) }, + { "f", ACTION(TO_LINE_RIGHT) }, { "go", ACTION(CURSOR_BYTE) }, { "gH", ACTION(CURSOR_BYTE_LEFT) }, { "gL", ACTION(CURSOR_BYTE_RIGHT) }, @@ -75,8 +75,8 @@ static const KeyBinding bindings_motions[] = { { "M", ACTION(CURSOR_WINDOW_LINE_MIDDLE) }, { "n", ACTION(CURSOR_SEARCH_REPEAT_FORWARD) }, { "N", ACTION(CURSOR_SEARCH_REPEAT_BACKWARD) }, - { "T", ACTION(TILL_LEFT) }, - { "t", ACTION(TILL_RIGHT) }, + { "T", ACTION(TILL_LINE_LEFT) }, + { "t", ACTION(TILL_LINE_RIGHT) }, { "W", ACTION(CURSOR_LONGWORD_START_NEXT) }, { "w", ACTION(CURSOR_WORD_START_NEXT) }, { 0 /* empty last element, array terminator */ }, |
