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 multi visual line delete issue #228

Merged
merged 1 commit into from
Aug 31, 2023
Merged

fix multi visual line delete issue #228

merged 1 commit into from
Aug 31, 2023

Conversation

jdhao
Copy link
Owner

@jdhao jdhao commented Aug 31, 2023

For TextYankPost event, it includes both yank and delete, we should only restore cursor position for yank, not for delete. Otherwise, it messes up with text deletion when you visually select multiple lines and delete them. See also issue reported here: #222 (comment)

For TextYankPost event, it includes both yank and delete, we should only
restore cursor position for yank, not for delete. Otherwise, it messes
up with text deletion when you visually select multiple lines and delete
them. See also issue reported here: #222 (comment)
@jdhao jdhao merged commit 359621b into master Aug 31, 2023
@jdhao jdhao deleted the fix-multi-line-delete branch August 31, 2023 22:26
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.

1 participant