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

NeoTree always opens files on the top left window #40

Closed
jcmuller opened this issue Jan 10, 2022 · 3 comments
Closed

NeoTree always opens files on the top left window #40

jcmuller opened this issue Jan 10, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request working-on-it

Comments

@jcmuller
Copy link

I really need to have NeoTree open the file I need in the window that was focused when NeoTree was toggled. Is this something that can be configured?

Thanks a lot!

@danilshvalov
Copy link
Contributor

Do you want to reuse the current buffer instead of creating a new one?

Or do you want to open a file in the last used window without a choice?

@cseickel
Copy link
Contributor

@jcmuller This is surprisingly tricky, but I can definitely add this as an option. That was my first strategy for where to open a file, but it got complicated once I started adding floating windows.

You can also add your own "open" command and map to that to implement your own window choosing strategy... But if you can wait a day or two I will add this behavior as an option.

@jcmuller
Copy link
Author

Yes. That. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request working-on-it
Projects
None yet
Development

No branches or pull requests

3 participants