Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[find file] when the file is not found, focus the potential parent folder #1339

Closed
vanarok opened this issue Jun 12, 2022 · 5 comments
Closed
Labels
feature request QOL Quality Of Life Improvement

Comments

@vanarok
Copy link

vanarok commented Jun 12, 2022

At the moment it does not focus on the last visible directory if the file is out of sight(hidden).
2022-06-12T12:39:58,235209814+04:00
The gray files are hidden when nvim tree starts and in this case it should focus on the "config" folder.

@kyazdani42
Copy link
Member

hi, please elaborate, i don't understand you feature request.
-> current behavior for event/action
-> behavior wanted for event/action

@vanarok
Copy link
Author

vanarok commented Jun 12, 2022

Current behavior. When the nvim tree is opened, the cursor will not focus on a file in the nvim tree tab if the file is hidden.
Behaviour wanted. When the nvim tree is opened, and the file is not visible in the nvim tree, the cursor should focus on the file's parent directory.

@kyazdani42
Copy link
Member

I see now, this could be implemented in the find_file, i'll see when i have some time for this.

@kyazdani42 kyazdani42 changed the title Focus on the last visible dir [find file] when the file is not found, focus the potential parent folder Jun 12, 2022
@alex-courtis alex-courtis added the QOL Quality Of Life Improvement label Oct 23, 2022
@vanarok vanarok closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2022
@alex-courtis
Copy link
Member

This is a valid feature that improves the quality of life for users.

@alex-courtis alex-courtis reopened this Nov 13, 2022
@alex-courtis
Copy link
Member

This should be resolved via #1785 and #2261

Please reopen if this hasn't been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request QOL Quality Of Life Improvement
Projects
None yet
Development

No branches or pull requests

3 participants