broot icon indicating copy to clipboard operation
broot copied to clipboard

Make it possible for a verb to issue a single command for the whole list of staged files

Open Canop opened this issue 3 years ago • 4 comments

Primary mentioned here: https://github.com/Canop/broot/issues/266#issuecomment-972113711

It should be possible to execute a command with argument the space separated list of paths

Canop avatar Nov 18 '21 06:11 Canop

Yes please! maybe add it as verb argument? Would love to be able to create verbs referencing the staging area, without having to focus the staging panel.

czaplicki avatar Jan 21 '22 09:01 czaplicki

or else to do the job, we would need a command to focus the staging area non-interactively. In the same way, a way to "mark" the currently focused directory (in a local variable), to mention it elsewhere in a sequence. Like: ":set A {currently_focused_parent};:mv {elements} A;" or: ":mv {staging_elements} ."

By the way that would make replicating fzf mutliple selection behavior possible, while it's not for the moment.

evanescente-ondine avatar Jan 31 '22 16:01 evanescente-ondine