diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2019-07-01 16:23:19 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2019-07-01 19:53:08 +0300 |
| commit | b040bf8b81e8373f6944e8ab86d5d6fd6d126823 (patch) | |
| tree | 04f3ccafd86bcd9b639c1ebb0d4d276f27ed3db7 /test/normal/codepoint-width | |
| parent | 2ff9fd8d9262e9fd1361dd2c0e873277aabad663 (diff) | |
src: Use all selections to generate a pattern upon hitting `*`
This commit makes the `*` and <a-*> primitives compose a search pattern
comprised of all the current selections, as opposed to only the main one.
All selections are OR'd into the default search register, which makes it
convenient to search for several identifiers already selected.
To retain the old behaviour, the following mappings can be used:
```
map global normal * ': exec -draft -save-regs "" %{<space>*}<ret>'
map global normal <a-*> ': exec -draft -save-regs "" %{<space><a-*>}<ret>'
```
Fixes #2994
Diffstat (limited to 'test/normal/codepoint-width')
0 files changed, 0 insertions, 0 deletions
