Skip to content

FEATURE: Search in currently visible #1905

@euoia

Description

@euoia

Did you check the docs?

  • I have read all the docs.

Is your feature request related to a problem? Please describe.

Here's my immediate experience of NeoTree.

I'm setting up a new install of Astronvim and trying to get to my config files.

I open NeoTree (<Leader>-e), I toggle hidden (H), I try to get to my ~/.config directory so I type .config, I get a ton of results (since I'm in my home directory) and they're all files (not my ~/.config directory).

I try filter on submit f/, I type .config, still just files (I guess it uses the same logic).

I read the docs and see there's a directory search, D. I type D then .config but there are no results (are hidden directories ignored?). I notice the Find at the top shows Find ".conf" - is it working?

Image

After 20 seconds or so there are a ton of results (every .config directory on my computer).

I just want a way to quickly go to the .config directory I can see on the screen... I resort to using j...

Describe the solution you'd like.

I think it would be better not to override the default behaviour of / so search in buffer works as normal.

Describe alternatives you've considered.

Or have an option to search non-recursively, or only visible items.

Additional Context

No response

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