How can I change the default highlight colour in Sublime Text 2? I know I have to find a highlight key in one of the theme files but I don't know where these theme files are kept. Are they in the library somewhere?
Change highlight colour in Sublime Text 2
highlightssublimetexttext-editor
Related Question
- MacOS – How to setup Python3.3 and Sublime Text 2 correctly on OS X 10.8.2
- MacOS – Opening text files from finder: Unable to find application
- MacOS – Replace Text Edit as the default text editor
- IMac – Changing sublime text 3 icon in dock on Yosemite
- MacOS – Set sublime text to read .asp files as .php files (with php syntax)
- How to open a new c++ file with a predefined template in Sublime Text
- Keyboard shortcut to open folder with Sublime Text
Best Answer
Found the theme files in this directory:
You can see which theme you are using by going to (from within Sublime Text 2)
and see which one is ticked.
Open the theme file and find the key that says:
not one of the highlight keys.
Go to a site that shows hex colour codes (like this one http://html-color-codes.com/) and find the code for the colour you want. Then sub your new colour code into the line below the selection key in the theme file, replacing the old hex colour code.
Save the modified theme file and it should work straight away.