Feature Request: Highlight on hover/select.
I'd like to be able to hover my mouse over a word, and then have all occurrences of that word highlighted. And/Or, if I actually select a word (or words), I'd like all occurrences of that selection highlighted.
Not sure how these two should interact. I guess one option would be for the selection-highlighting would override the hover-highlighting. (Only one active at a time). Another option would be for them to operate independently. Not sure I'd have strong preference either way, really.
And a reply from George on the forum:
""" As an extension to search this would be very slow, but if it's only to highlight items on the screen without searching the whole buffer it seems pretty doable. Would you mind filing a feature request at https://iterm2.com/bugs? I'm a bit overwhelmed at the moment but I don't want to lose a good idea. """
Thanks!
Yeah, This would only highlight the things actually on-screen. (With the caveat that you might use the scroll-bar to influence which portion is "on screen", but this would never require searching the whole buffer. Only the currently-visible portion). I mean... If you really want a search, you'd go the extra step and really use search.
It occurs to me also that "highlight the thing currently in my pasteboard" is a similar feature to "highlight selection", and may be slightly more powerful (allowing highlighting of strings that didn't originate in iTerm2). Though, it does require actually copying the selection... unless copy-on-select is enabled...
The most general would be to have all three options, with different highlight colors... but that may be overkill.