Canop / broot

A new way to see and navigate directory trees : https://dystroy.org/broot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`input` initial mode unexpected behavior

Martin1887 opened this issue · comments

When the initial_mode parameter is set to input, after changing the directory the mode is automatically returned to input.

Maybe this is the expected behavior, but it seems weird to me pressing h to focus the current folder and finding the mode in input mode again, or navigating into a folder and finding j is searched instead of moving the cursor down.

More than an initial_mode this seems to me as a default_mode, having modal mode to be continuously activated after each operation.

Could adding another parameter default_mode or adding another option input_at_start to the initial_mode parameter the best alternative? I don't know.

Thanks!

Could adding another parameter default_mode or adding another option input_at_start to the initial_mode parameter the best alternative?

Or just take the previous mode ?

Yes, I'm currently using the previous mode, but I was not sure if this is the desired behavior of the input mode and I think the other type of initial mode could be more comfortable for some people, but I cannot confirm it :-).

If this is the desired behavior then this issue would be a request more than a bug. I'm comfortable on the modal initial mode, so if this issue is not upvoted it should not have high priority.