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

fix: don't auto-center windows containing term buffers #129

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

willothy
Copy link
Collaborator

Fixes flickers / weird scrolling when leaving terminal buffers.

@cryptomilk
Copy link
Collaborator

Looks fine for me, thanks!

@cryptomilk cryptomilk merged commit edb9a59 into nvim-focus:master Sep 16, 2023
6 checks passed
@willothy
Copy link
Collaborator Author

willothy commented Sep 16, 2023

I also think that maybe the auto-centering isn't needed at all? Neovim has the splitkeep option which should handle that automatically. Specifically :set splitkeep=cursor works well for me with the autocmd removed.

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