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

Is there a way to always place cursor on the first match? #84

Closed
snacksncode opened this issue Dec 19, 2022 · 2 comments
Closed

Is there a way to always place cursor on the first match? #84

snacksncode opened this issue Dec 19, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@snacksncode
Copy link

Hi 👋

Is it possible to always place cursor on the first match even if there are other matches?
I've attached minimal showcase of what I mean.

2022-12-19_16-04-03.mp4

When there's 2 nulls in the viewport there's 2 matches after snu and the cursor is actually places on that first match. It's just not very apparent as it's only visible after a movement command.

But when there's no other matches in the viewport for snu cursor is placed on that first match without the need for movement command.

I think this all has something to do with "Smart autojump" but I'm not sure.

@ctstacey
Copy link

If I understand your issue correctly, you need to define the Cursor colour in nvim. See issue #27.

@ggandor
Copy link
Owner

ggandor commented Dec 19, 2022

This confusing behaviour is the result of two separate issues, #27 (as mentioned above, can be fixed by setting the Cursor group) and #70 (unresolved at the moment).

@ggandor ggandor added the duplicate This issue or pull request already exists label Dec 19, 2022
@ggandor ggandor closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants