diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-03-21 15:14:43 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-03-21 15:38:27 +0100 |
| commit | 8c283071dc0e51acc868015fe7ae79ab8edbdf85 (patch) | |
| tree | 353626b1340d5c4a6d6576ba64368d2411b084a5 /text-regex.c | |
| parent | 937d8a83610ac4a642d52412e94bebda3ed6b138 (diff) | |
| download | vis-8c283071dc0e51acc868015fe7ae79ab8edbdf85.tar.gz vis-8c283071dc0e51acc868015fe7ae79ab8edbdf85.tar.xz | |
vis: make `cw` and `cW` more vim compatible
If the starting position is:
* on a space or tab use the `w` motion
* on the last letter of a word use `l` or `e` depending on whether
a count was given. This also applies for single letter words.
* otherwise use the `e` motion
As in vim `cw` and `dw` behave differently, whether that is desirable
remains to be seen.
Might fix #521
Diffstat (limited to 'text-regex.c')
0 files changed, 0 insertions, 0 deletions
