zedapp / zed

Rethinking code editing.
http://zedapp.org
MIT License
2.22k stars 162 forks source link

Feature request: function to turn off search highlighting #552

Open fernandocanizo opened 9 years ago

fernandocanizo commented 9 years ago

On my vim configuration I got this mapping:

map <F7> :set hls!<CR>:set hls?<CR>

Which turns F7 into a keybinding to turn off current search highlighting.

Before I did this mapping, when I got tired of some highlight color claiming my attention long past I did the search I used to search for something which I knew wasn't to be found in my current file.

That workaround is not cool, and I'm back doing it on Zed.

I've searched the commands and I found only two related to "highlighting":

This should be a new function, not a configuration setting. We want our searches to highlight stuff, but at some point we may want to turn off those highlight in order to focus better in whatever we're doing.