-
Notifications
You must be signed in to change notification settings - Fork 28
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
Discussion: labeled f/t #116
Comments
This is a duplicate of #68 (more or less). I still don't see the point of such a labeling system for
That makes no sense when Make no mistake, I'm always on the lookout for new ideas, and grateful for any suggestions, I'm just playing devil's advocate, as always. (Someone has to.) |
I see your point. I'm fairly new to lightspeed so this might just be my lack of experience. I mostly want this when I under-guess the number of times my target character exists in the current line(s), thinking I think I need more experience using this plugin before I can give a better justification for this feature. I'll check back in a few days (regardless of this issue's status). Btw, thanks for the wonderful plugin. I tried Hop and didn't like it nearly as much. I found it interesting that you wrote it in Lisp. |
@ggandor So I still miss being able to efficiently use Thanks for taking the time to reply to my OP. UPDATE: I don't like hop's |
Yeah, sometimes it might make sense to label |
Finally I got it with leap.nvim + flit.nvim and the following config: It's not exactly what mikeslattery asked. Because it shows character labels instead of numbers. But for me it's good enough. Thank you, ggandor! |
@mikeslattery https://github.com/jinh0/eyeliner.nvim might interest you. (But you can also try flit.nvim now, as mentioned above.) |
Thanks @ggandor. Both are so close, but neither label ahead occurrences of single char. I tend to agree with your original assessment that this should be a separate plugin. This is a very specific user preference, and debatable that even the existing f functionality belongs in lightspeed (as it doesn't in leap). I appreciate the author of such an incredible plugin taking the time to consider my whims. My feelings would not be hurt if you closed this ticket. It's time for me to deep dive into lua and neovim's api to make my own, or modify/extend an existing plugin. I may fork flit. |
@mikeslattery I can throw a gist together for you, but I'm a bit lost now, what is your desired feature set then? :)
This is exactly what eyeliner does, isn't it? |
Example: My eyes are focused on an
Without a clear hint (a number or color codes), I don't know how many times to use Again, maybe I'm using |
It's simpler if you describe the intended behaviour instead of the problem (the latter I understand), because I'm still unsure about what the goal is.
If it is the former:
If it is the latter:
That said...
Definitely. I think your life would become much simpler by getting used to reaching |
After. That was a good clarifying question. As I said, I'm looking at where I want to go.
Maybe I didn't look closely enough. I'll install it and see if it's the solution.
I never mean to go beyond 2, or even 1 most of the time. It's usually an underestimation of how many occurances there are. If I think my But I agree that I should go for |
It would be useful if subsequent matches for f/F/t/T where highlighted with numbers instead of the search character.
For example, if your text is
|Mississippi, Missouri
and you typefi
, you go to the firsti
and the next 3 will be highlighted. I'd rather briefly seeM|iss1ss2pp3, M4ssouri
. If I typed2;
I'd seeMississ|ipp1, M2ssour3
, and then I could again type2;
and I'd seeMississippi, M|issour1
.I know what the search character is, of course, but I may have trouble telling how many times I need to use
;
. With this feature, I don't lose any visual information, but I can better tell where I want to jump. This would be configurable for people that like the current way.A nice side benefit is
limit_ft_matches
would be useful at a higher value (e.g. '9')The text was updated successfully, but these errors were encountered: