summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2019-07-01 16:23:19 +0300
committerFrank LENORMAND <lenormf@gmail.com>2019-07-01 19:53:08 +0300
commitb040bf8b81e8373f6944e8ab86d5d6fd6d126823 (patch)
tree04f3ccafd86bcd9b639c1ebb0d4d276f27ed3db7 /src/input_handler.cc
parent2ff9fd8d9262e9fd1361dd2c0e873277aabad663 (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 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions