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

Holding keybinding for 'Go to next/previous heading' doesn't work #58

Open
ryanwwest opened this issue Feb 13, 2023 · 1 comment
Open

Comments

@ryanwwest
Copy link

I set my keybindings for 'Go to next/previous heading' to > and <, respectively, and also have vim mode enabled. I was hoping to hold down > to quickly scroll through my notes by heading, but after skipping to one heading when folded, it instead starts rapidly indenting the newly-jumped-to heading (which is a result of vim's >> keybinding). This appears to mean that this plugin doesn't handle repeat keys on at least these two commands (and maybe others).

Separately, is there a way to only jump to the next heading of the same level (e.g., if you're within the text of a h2 heading, and there is a h3 heading also within that h2 block but your cursor is not in the h3 block, jump past the h3 block to the next h2 heading)?

@timhor
Copy link
Owner

timhor commented Feb 17, 2023

Thanks for the suggestions! There's currently no logic to handle either of these cases, but I'll take them into consideration for the next release:

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

No branches or pull requests

2 participants