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

[FEATURE] - Add jumpToPreviousInCurrentEditor / jumpToNextInCurrentEditor #720

Open
swinefeaster opened this issue May 6, 2024 · 2 comments

Comments

@swinefeaster
Copy link

This is the behavior a lot of former Visual Studio users are used to. It's very confusing when you get thrown into another file, so would be nice to be able to map to these more limited hotkeys.

Thanks!

@alefragnani
Copy link
Owner

Hi @swinefeaster ,

If you want the navigation to work only in the current file, simply add this to your user settings:

    "bookmarks.navigateThroughAllFiles": false

Doing so, both Bookmarks: Jump to Next and Bookmarks: Jump to Previous commands will stay in the current file.

You can even combine with another setting, if you don't want the jumping to wrap around at the first and last bookmarks. Simply add this to your user settings:

    "bookmarks.wrapNavigation": false

Hope this helps

@swinefeaster
Copy link
Author

swinefeaster commented May 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants