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

feat: add 'update_on_cursor_moved' option to preview window #250

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

umlx5h
Copy link
Contributor

@umlx5h umlx5h commented Dec 7, 2023

By default, the preview window is updated when the cursor is moved, but this behavior makes it heavy and sometimes stuck when opening large files.
So I added an option to make it behave like netrw's p key, which does not automatically synchronize.

I thought it would be good to allow users to choose which behavior they prefer.

@stevearc
Copy link
Owner

LGTM thanks!

@stevearc stevearc merged commit ea612fe into stevearc:master Dec 10, 2023
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants