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

Jump to Fold Text #144

Open
atomdmac opened this issue Apr 15, 2022 · 2 comments
Open

Jump to Fold Text #144

atomdmac opened this issue Apr 15, 2022 · 2 comments
Labels
blocked by core enhancement New feature or request

Comments

@atomdmac
Copy link

I use folds pretty regularly in order to quiet some of the "visual noise" of the codebases I work in. I'd like to be able to jump to the top of a collapsed fold in the same way that I can jump to expanded text. For example, if I wanted to jump to the doThings function, I'd like to be able to type sdo and have the cursor jump to line 6.

image

Is this currently possible or would it be a new feature?

Thanks for such a useful plug-in, btw!

@ggandor
Copy link
Owner

ggandor commented Apr 15, 2022

This is an obvious request, I've been wanting to implement this for ages, but seems impossible at the moment. Fold headers cover everything unconditionally, including extmarks, we cannot labels positions there. (Semi)related: neovim/neovim#12649.

@ggandor ggandor added enhancement New feature or request blocked by core labels Apr 15, 2022
@atomdmac
Copy link
Author

@ggandor Thanks for the context! I figured it must be some sort of technical limitation since none of the other similar plugins (sneak.vim et al) have this feature either. Crossing my fingers that support for this can be added soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked by core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants