-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Problem with Streak-mode target highlighting (not multibyte) #55
Comments
Thanks for the report. Can you provide sample text that this occurs on? Are there tabs or any other special characters? (It should work just fine with tabs, however)
It should be in the order of the following characters:
This is actually customizable via the This order was chosen in a (haphazard) attempt to be "home-row friendly". |
That seems... significant. Are you able to reproduce in Vim 7.3.390 without that patch? |
Hi, thanks for the fast response. I did not mention it before, but I think I am attaching a screenshot using streak with the search "sth" as well as "home-row-friendly" for targets is ok, but for touch typists, alpha order On Thu, Jan 9, 2014 at 1:07 PM, justinmk notifications@github.com wrote:
|
Glad to hear it! I don't think your attachments came through on github.
Alpha order is probaby more predictable. I personally don't care, so I'm open to suggestions for better defaults. |
Also, let me know if you are able to reproduce this issue on Vim without the 'breakindent' patch (which looks really cool btw). |
The file is plain text. No tabs either. |
Ha! Yes that's actually exactly a result of the line wrapping. Notice how the unlabeled matches are the ones that would be off screen if the line were not wrapped. I will have to think about this. |
I just checked, and it turns out this is a bug even with plain old wrap (doesn't require the 'breakindent' patch). I should have a fix in the next day or so. Thanks for reporting! |
@mon10a Does 'breakindent' work even if |
This should be fixed, let me know how it goes. Also still curious about whether 'breakindent' requires 'wrap'. |
I do not believe that breakindent requires wrap, but I will check. m
|
Wow, streak mode really works well now. Thanks for fixing so quickly. As a prose writer, I think Sneak in streak mode is much more efficient that echo has('breakindent') returns 0 regards mon10a On Sat, Jan 11, 2014 at 12:37 AM, justinmk notifications@github.com wrote:
|
Glad to hear it! So, |
Yes, echo &wrap returns 1 |
Streak-mode almost always leaves out the target for me for some of the matches. The targets left out are almost always in the same line/paragraph as the first match.
Also, when the targets are present, they are in no particular order (I can't tell if this is what you intended).
Vim 7.3
Mac OSX
patches 1-390 plus breakindent
Solarized Dark theme
Plugins: EasyMotion, ack, NERDtree, peepopen, sneak, unite, voom
regards,
mon10a
The text was updated successfully, but these errors were encountered: