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

By default it works but it doesn't choose the good vim instance #19

Open
RoXuS opened this issue Oct 7, 2024 · 4 comments
Open

By default it works but it doesn't choose the good vim instance #19

RoXuS opened this issue Oct 7, 2024 · 4 comments

Comments

@RoXuS
Copy link

RoXuS commented Oct 7, 2024

Hey, thx for this plugin!

Not sure if it is an issue but by default the plugin opens the file in other window (where an instance of nvim is present) instead of the current window where I have an existing pane with nvim too.

Is it the expected behavior?

@artemave
Copy link
Owner

artemave commented Oct 7, 2024

Yeah, that's expected. It's just picking the first nvim instance.

Perhaps it could prefer the one in the current window, if there is one.

@RoXuS
Copy link
Author

RoXuS commented Oct 8, 2024

or maybe an option to pick the first nvim instance OR pick the closest (in current window then in closest window)?

@artemave
Copy link
Owner

artemave commented Oct 8, 2024

By "first" I really meant unspecified. It was never designed to work with multiple vim instances. So I don't believe "first" has any value.

@RoXuS
Copy link
Author

RoXuS commented Oct 16, 2024

oh ok and this feature is possible, can we selected the "closest" vim instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants