Canop / broot

A new way to see and navigate directory trees : https://dystroy.org/broot
MIT License
10.83k stars 237 forks source link

[feat-req?] multiple internal commands for verbs #933

Closed tx46 closed 3 months ago

tx46 commented 3 months ago

i would like to be able to execute multiple verbs with a single key-press. my particular use case:

{ key: "m", internal: [":toggle_stage", ":line_down"] }

is this already possible to do in some way?

Canop commented 3 months ago

Yes:

{
    key: m
    cmd: ":toggle_stage;:line_down"
}

cf https://dystroy.org/broot/conf_verbs/#cmd-execution