For example, double clicking on a word selects it, then all matches of that word are also highlighted.
What keys do I change in my theme to change the background, foreground, and/or the border colors for the matching words?
There is no configuration key for the colour of the border around unselected found text in Sublime Text 2: the colour of the found text border is the cursor colour. If you want to change it, you must change the cursor colour.
To change the cursor and found text border colour, set the value of the key named caret
in the .thTheme
file.
In other words, if you want a yellow found text border, you must also have a hello cursor. For example:
<key>caret</key>
<string>#ffff00</string>
This how the it looks with a yellow found text border and cursor in the Monokai Bright theme:
I think you're looking for findHighlight
and inactiveSelection
<key>selection</key>
<string>#C5DFE980</string>
<key>findHighlight</key>
<string>#ffe792</string>
<key>inactiveSelection</key>
<string>#ff7e00</string>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With