Broot to "accept" input when verb argument is presented
Hello @Canop! I was curious if broot has the ability to run this type of "verb
{
name: touch
key: ctrl-t
invocation: t {new_file}
execution: "touch {directory}/{new_file}"
leave_broot: false
}
The expected results would be that I press CTRL+t and that broot will wait for me to places the {new_file} name in the bottom input bar. It should do this when it expects an "input", which is the {new_file}. Is there a way to do this in broot alread? I could be simply missing the right way to configure this verb! Thank you for your support and development on this utility!
I think you want to set auto_exec to false:
{
name: touch
key: ctrl-t
invocation: "touch {new_file}"
execution: "touch {directory}/{new_file}"
leave_broot: false
auto_exec: false
}
@Canop thank you that worked - had the same question. I think this should be added to the documentation and the examples in the verb.conf
@themipper You're probably right. But it's not easy adding things in both without making them very heavy and painful to read. I'll try to find the best place to mention that.