Skip to content

Avoid modifying jumplist until jumping to ref - #2670

Merged
archseer merged 1 commit into
helix-editor:masterfrom
yzwduck:feat/goto-jumplist
Jun 5, 2022
Merged

Avoid modifying jumplist until jumping to ref#2670
archseer merged 1 commit into
helix-editor:masterfrom
yzwduck:feat/goto-jumplist

Conversation

@yzwduck

@yzwduck yzwduck commented Jun 4, 2022

Copy link
Copy Markdown
Contributor

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.

@archseer archseer left a comment

Copy link
Copy Markdown
Member

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