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

Auto hide after certain duration #62

Open
spywhere opened this issue Dec 22, 2021 · 1 comment
Open

Auto hide after certain duration #62

spywhere opened this issue Dec 22, 2021 · 1 comment

Comments

@spywhere
Copy link

It would be nice to support an auto-hide feature where there is no activity (no scrolling) for certain amount of time passed.

This can be achieved through vim.defer_fn and libuv.timer_stop.

Here's my setup for this feature through Xuyuanp/scrollbar.nvim plugin.

For now, I can make a workaround by using :ScrollViewDisable and :ScrollViewEnable, but I don't want to fiddle around with autocmd events, hence submit an issue here.

@AlexvZyl
Copy link

@dstein64 This would be a nice addition.

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