telescope.nvim icon indicating copy to clipboard operation
telescope.nvim copied to clipboard

"mark" entries then open them all at once

Open AlphabetsAlphabets opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. No, it's not a problem. It's just a nice to have.

Describe the solution you'd like When you open a picker find files or something else you get a bunch of entries. Is there a way to mark the entries then open them up all at once. Mark entries you'd like to open, and then press a keybinding to have all the marked entries just fill your screen in different splits.

Describe alternatives you've considered Other than manually opening the picker and selecting the right entry, no.

Additional context image

In my case I'd like to open both of the entries inside the green box. I can do that sure but I'll need to open the picker twice. That's how I thought of this.

AlphabetsAlphabets avatar May 02 '23 08:05 AlphabetsAlphabets

You can send results to quickfix (with ctrl+q by default) and do whatever you want.

nmrtv avatar May 02 '23 17:05 nmrtv

Better yet you can selection/mark the entries of interest with tab/shift+tab then only open the selected entries in a quickfix list with alt+q.

jamestrew avatar May 02 '23 21:05 jamestrew

and from quickfix we can open all files at once?

For testing purpose I've selected two files and sent them to quickfix list but couldn't find a way to open both at once in h quickfix

rodhash avatar Feb 25 '24 15:02 rodhash

The problem with this question is it's not clear what "open them all at once" means and it can mean different things to different people. Eg. open as a split (vertical or horizontal), new tab, or just :edit, or with or without :drop, etc.

Not saying it's not doable or that it won't be ever offered. It's just not as simple as adding an open_all binding.

jamestrew avatar Feb 25 '24 15:02 jamestrew

@jamestrew I updated the description. I added

Mark entries you'd like to open, and then press a keybinding to have all the marked entries just fill your screen in different splits.

AlphabetsAlphabets avatar Feb 29 '24 05:02 AlphabetsAlphabets