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

Highlight only on Find #64

Open
Rassi opened this issue Sep 17, 2015 · 3 comments
Open

Highlight only on Find #64

Rassi opened this issue Sep 17, 2015 · 3 comments

Comments

@Rassi
Copy link

Rassi commented Sep 17, 2015

Finally I can have background color on find highlights. This was missing for me in Sublime Text coming from Notepad++. Thank you.

But I have trouble getting used to highlighting whenever I select something.

My normal workflow is to use Find (ctrl+F3 etc) when I want to highlight what I've selected, and it would be nice if I could limit WordHighlight to only run then. Especially since I've turned on highlight_non_word_characters.

I've tried adding a delay, but this just means than when I actually do press ctrl+F3 I have to wait until the delay before I get highlights. This scratches my brains pickup, and I lose my train of thought.

Otherwise thanks for a great plugin.

@adzenith
Copy link
Member

WordHighlightListener could conceivably be modified so that you can run it with a keystroke. You could then bind this to ctrl+f3 and set the timeout so that it never highlights otherwise.

@Rassi
Copy link
Author

Rassi commented Sep 17, 2015

But would this remove ctrl+f3 as quick find? And I guess then mouse double click, or just normal find (ctrl+f) wouldn't work? Or can you have multiple actions for a keystroke?

@adzenith
Copy link
Member

You can have multiple actions for a keystroke but only if you write a very basic plugin to run two commands or use one that's already been written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants