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

chore: simplify autocmd for command line events #80

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

sphamba
Copy link
Owner

@sphamba sphamba commented Jan 5, 2025

Use (deferred) vim.api.nvim_get_mode() to choose how to compute the cursor position, instead of relying on the triggering neovim event.

Changes

  • change delay_animation_start to 0 milliseconds by default. Perhaps not needed anymore.

Related GitHub issues and pull requests

@sphamba sphamba added the bug Something isn't working label Jan 5, 2025
@sphamba sphamba added enhancement New feature or enhancement and removed bug Something isn't working labels Jan 7, 2025
@sphamba sphamba changed the title fix: unwanted jumps to cmd or top left corner chore: simplify autocmd for command line events Jan 7, 2025
@sphamba sphamba merged commit 005b50b into main Jan 7, 2025
1 check passed
@sphamba sphamba deleted the fix-jump-cmd branch January 7, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with cmdline behavior even with smear_to_cmd = false
1 participant