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

Q: the winfixbuf feature is merged, should I still need to install this plugin? #32

Closed
konosubakonoakua opened this issue May 31, 2024 · 2 comments

Comments

@konosubakonoakua
Copy link

no affense, I'm new to this plugin, and want some help, thankyou :D

@stevearc
Copy link
Owner

stevearc commented Jun 2, 2024

The way winfixbuf works is a little different. It's a simple boolean that, when set, will prevent the window from displaying a different buffer. This plugin has both the ability to customize what the behavior is when the window would switch buffers (open in another window by default, but this can be set to some custom user logic). It also allows the "pin" to function for buffers of the same type, instead of a single buffer. For example, if you have help docs open in a window, you may want to be able to switch to other help buffers (since the help docs are spread across many files), but prevent switching to non-help buffers in that window.

So this plugin still provides some functionality that is not present in vanilla Neovim yet, but it does still rely on some hacks.

@stevearc stevearc closed this as completed Jun 2, 2024
@konosubakonoakua
Copy link
Author

thankyou :D

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