How does multi-picking work exactly? #2250
-
Contributing guidelines
Module(s)mini.pick QuestionI couldn't really make sense of this from the docs, and maybe it's the ignorance of not needing such a thing before. I get that marking multiple items will open them in a quickfix list. 👍🏻 What I don't get is how to mark files and how to then generate the list. I am finding myself grepping (using I have tried searching, the most relevant was someone asking how to open the marked files in their own buffers instead of a quickfix, but I also don't know how much of their config was theirs vs. what's necessary to make the feature/option work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Make an item current and execute "Mark" action, which is
Execute "Choose marked" action. By default with
This is also possible with builtin The example of marking and sending to quickfix is also shown in the demo (at about 35 seconds). |
Beta Was this translation helpful? Give feedback.
Make an item current and execute "Mark" action, which is
<C-x>by default. It is also possible to mark all present matches withmark_all, which is<C-a>by default.Execute "Choose marked" action. By default with
<M-CR>. What it does exactly depends on how it is defined in picker's source, but the default one indeed tries to detect common types of items that is reasonable to send to quickfix (like paths/buffers with/without positions).This is also possible with builtin
resumepicker. Executing:Pick resumewill open a latest picker at the…