Skip to content

Add separate depth setting for folder browser #423

@giodueck

Description

@giodueck

Is your feature request related to a problem? Please describe.
Since #419 and #420, a certain workflow has broken for me which I found to be useful as it was before, although - I agree - inconsistent in its configuration.

It is no longer convenient to have the file browser have the depth of 1 and use the folder browser to quickly jump to a nested directory, because the depth setting then affects the file browser which looks cluttered.

To make the folder browser useful as a quick navigation tool, I find depth necessary, and to make the file browser useful, I find depth annoying.

Describe the solution you'd like
Could the depth be separated into two options? I.e. add a new one for the folder browser.

Describe alternatives you've considered
I have tried creating distinct mappings for opening the file browser in file and in folder modes, but since selecting a directory in folder mode enables the file mode the depth option applies to this mode.

Is there a way to add a hook to listen to <CR> in the picker? Then I could try setting the depth option dynamically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions