Anomalocaridid / handlr-regex

Fork of handlr with support for regex
MIT License
129 stars 5 forks source link

add cmd-line argument for 'enable_selector' #60

Closed superiums closed 4 months ago

superiums commented 5 months ago

enable_selector now could only be defined in config, but how if we both need enable and disable? i use it with lf, sometimes i need to enable select, and sometimes not.

also hope to add an argument to read the selector from cmdline. instead of config file. in this way, it's more flexiable to use diffenrent selector for different enviroment.

Anomalocaridid commented 5 months ago

That's a good idea.

Just so I can understand your request a bit better, could you tell me a bit more your particular use case? Like in what situations do you want a selector and in what situations do you not want one? Also what environments are you referring to that would require using different selectors?

Also how are you using handlr with lf? I have never used lf, so I am not familiar with it.

superiums commented 5 months ago

lf is a pretty file manager with TUI , it's the most flexiable one , also similar ones are: ranger, nnn, jushuto, yazi, felix ....

my use case:

Anomalocaridid commented 4 months ago

Command-line flags to enable/disable the selector and override the selector command have been added.

There's still a handful of things I have planned before I make a new release, so it'll be a bit longer.