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

feat: use vscode native nav back to avoid surpurise and inconsistency #9286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qazxcdswe123
Copy link

Notice: This is more or less a BREAKING CHANGE!

What this PR does / why we need it:

Changes:

  • <C-o> now use workbench.action.navigateBack instead of hand rolled jump list, so that gd and mouse goto state are consistent.
  • <C-t> is unchanged and still use hand rolled jump list.

Which issue(s) this PR fixes

Special notes for your reviewer:
This will be a breaking change but IMO it's worth it since workbench.action.navigateBack is used much more often then Vim's jump list

- `<C-o>` now use workbench.action.navigateBack instead of hand rolled
jump list, so that `gd` and mouse goto state are consistent.
- `<C-t>` is unchanged and still use hand rolled jump list.
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.

Jumping to Previous Position After Pressing a Key
1 participant