37

I would like to update my current SB2 theme Sunburst so that the current line highlight is a little brighter but I'm not sure how to do this. I know the following code has to be added but I don't know how to access the theme files:

<key>lineHighlight</key>
<string>#hexcolor</string>

Can anyone advise on how this can be achieved?

styler
  • 15,779
  • 23
  • 81
  • 135

2 Answers2

33

On Windows XP, they are in XML .tmTheme files in

C:\Documents and Settings\myusername\Application Data\Sublime Text 2\Packages\Color Scheme - Default\

On Vista/7/8/10 it will be in:

C:\Users\myusername\AppData\Roaming\Sublime Text 2\Packages\Color Scheme - Default\
Kaspar Lee
  • 5,446
  • 4
  • 31
  • 54
Alex K.
  • 171,639
  • 30
  • 264
  • 288
  • 19
    Results for `pwd` in OS X shows: `/Users/your_user_name/Library/Application Support/Sublime Text 2/Packages/Color Scheme - Default`. – davidryan May 10 '12 at 07:32
  • 20
    you can use my visual theme editor to edit your sublime theme files: http://tmtheme-editor.herokuapp.com/ – Allen Bargi Jan 27 '13 at 22:20
  • 5
    On windows 7 it will be under: `C:\Users\myUserName\AppData\Roaming\Sublime Text 2\Packages\Color Scheme - Default\` – rob Jan 23 '14 at 20:18
  • Ubuntu: `~/.config/sublime-text-2/Packages/Color Scheme - Default` (remember to escape spaces or to quote the whole name if you `cd` there) – Walter Tross Sep 03 '14 at 07:20
11

You can try out Color Scheme Editor plugin for ST which will help you to edit the current theme that you're using. Even more, it will automatically show you what theme is being applied in your current position (that is real handy); you can then make the change in theme-file, save, and you will instantly see the result.

Santi Agüero
  • 3,143
  • 8
  • 27
  • 39