Closed yjyao closed 2 years ago
Hey, thanks for the suggestion. Sounds like a good idea. I'll look into it when I find some time.
If someone wants to do a PR let us know.
The multiple results should be separated by spaces
Propose it to be separated by configurable separator, defaulting to space
Another use case for multiple selection: I want to be able to filter all lines that contain the fuzzy search 'failed' control-a to select them all (or tab to select individual lines) and return to copy or insert each of the resulting lines
@totallyGreg i might be jumping to conclusions but that sounds very much like a task better accomplished with grep
.
This is a feature request to support choosing multiple results. The multiple results should be separated by spaces. Currently extrakto allows only one result per invocation.
Steps to reproduce
~/.tmux.conf
add: hello world
hello
<tab>
to selectworld
<tab>
to select<enter>
to insertExpected result
Extrakto inserts
hello world
at cursor position.Actual result
Extrakto inserts
world
at cursor position.Info
f74ec23
0.19.0 (9a41fd5)
tmux 3.2a
Python 3.9.2
5.1.8(1)-release
Rationale
One of the most common use cases of extrakto is to "retype" file paths. Often users would like to edit several files at a time. For example, after user runs
git status
and sees several files, they might want to edit three of the listed files. Currently user has to trigger extrakto three times to achieve this.