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

Avoid modifying jumplist until jumping to ref #2670

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

yzwduck
Copy link
Contributor

@yzwduck yzwduck commented Jun 4, 2022

When a goto command is cancelled, the jumplist should remain unchanged.

This commit delays saving the current selection to the jumplist until jumping to a reference.

Fixes #2663

When a goto command is cancelled, the jumplist should remain unchanged.

This commit delays saving the current selection to the jumplist until
jumping to a reference.
Copy link
Member

@archseer archseer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@archseer archseer merged commit d24ca66 into helix-editor:master Jun 5, 2022
@yzwduck yzwduck deleted the feat/goto-jumplist branch June 5, 2022 11:03
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.

Avoid saving to jumplist when goto is cancelled
2 participants