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

Show label at first match char #220

Open
xzbdmw opened this issue Apr 6, 2024 · 3 comments
Open

Show label at first match char #220

xzbdmw opened this issue Apr 6, 2024 · 3 comments
Labels
api enhancement New feature or request

Comments

@xzbdmw
Copy link

xzbdmw commented Apr 6, 2024

I found displaying label in the third character is not intuitive to me. When you press label to jump, cursor actually jumps to the first typed char, ideally, put label at first match position is better?

@ggandor
Copy link
Owner

ggandor commented Apr 7, 2024

Think of the label as (the last) part of a 3-character pattern you need to type, it makes sense then: #140

@xzbdmw xzbdmw closed this as completed Apr 9, 2024
@xzbdmw
Copy link
Author

xzbdmw commented Jun 2, 2024

@ggandor
edit: nevermind I just found opts.max_phase_one_targets = 0 it is what I want.

Hi after two month of use I still can't get used to that highlighted label is not the one my cursor will be after a jump, could you add an option for that, is it trivial??
The reason is that most of time I only need to see these two chars I need to type, after two sequence, praying I can automatically jump, if not, my eye tends to look at first char I just typed and type the hint char to go there. Put the label at first char do not introduce any confusion because I just typed it and I don't need to know what char it is.

@ggandor
Copy link
Owner

ggandor commented Jun 6, 2024

I think I actually agree that this could be added as an option.

@ggandor ggandor reopened this Jun 6, 2024
@ggandor ggandor added enhancement New feature or request api labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants