-
Notifications
You must be signed in to change notification settings - Fork 807
Add jump labels to the Sneak plugin #1393
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
Open
jspmarc
wants to merge
31
commits into
JetBrains:master
Choose a base branch
from
jspmarc:add-sneak-labels
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+232
−5
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
065e6f8 to
0ef91a9
Compare
Previously, pressing a key does not correctly use the mapping. This commit fixes that so mapped keys can be used after making a label.
73805a9 to
318f752
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds label mode from sneak.vim. The emulation might not be 100% accurate, but for the most part the functionality is very similar.
I am not sure on how many people would use this (I only found this comment on the original IdeaVim extension requesting label mode), but I do use this extensively and it improves my experience using IdeaVim. And I thought of sharing it with other people in case there are others that also used vim-sneak with the label mode and is looking to use IdeaVim.
Label mode can be enabled by adding
let g:{'sneak#label'} = 1to the.ideavimrc.2025-11-20.22-48-33.mp4