ST2: Setup - mhulse/mhulse.github.io GitHub Wiki
To get to your "settings" files (and other preference files):
Sublime Text 2
>> Preferences
>> [ YOUR CHOICE GOES HERE ]
Note: Changes to your setting(s) file(s) take affect immediately after save.
In Preferences >
Key Bindings - User:
[
{ "keys": ["ctrl+s"], "command": "toggle_side_bar" },
{ "keys": ["ctrl+shift+d"], "command": "file_diff_menu" },
{ "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "find"} },
{ "keys": ["super+f"], "command": "show_panel", "args": {"panel": "replace"} },
{ "keys": ["super+t"], "command": "replace_next" },
{ "keys": ["super+g"], "command": "find_next" },
{ "keys": ["super+k"], "command": "fold_tag_attributes" },
{ "keys": ["super+m"], "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" } }
]
{
"auto_complete_commit_on_tab": false,
"color_scheme": "Packages/User/Monokai Soda.tmTheme",
"detect_indentation": false,
"draw_white_space": "all",
"font_face": "Monaco",
"font_size": 14.0,
"ignored_packages":
[
"Vintage"
],
"indent_to_bracket": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"open_files_in_new_window": false,
"rulers":
[
72,
76,
80,
84,
88,
92,
96,
100
],
"scroll_past_end": true,
"smart_indent": true,
"theme": "Soda Dark.sublime-theme",
"trim_automatic_white_space": false,
"word_wrap": false
}
Note: Find similar font to Panic Sans here.
{
"auto_complete_commit_on_tab": false,
"auto_match_enabled": true,
"color_scheme": "Packages/User/Monokai.tmTheme",
"draw_white_space": "all",
"font_face": "Consolas",
"font_size": 11,
"ignored_packages":["Vintage"],
"ignored_words":["3/jquery"],
"indent_to_bracket": true,
"open_files_in_new_window": false,
"rulers":[72],
"smart_indent": true,
"spell_check": false,
"theme": "Soda Dark.sublime-theme",
"trim_automatic_white_space": false,
"word_wrap": false
}
Notes: Requires: Custom Monokai Color Scheme: ST2:-Monokai-Theme and Soda Dark theme install.
Check out the Soda Theme.
I like Soda "dark", as it has a dark sidebar (CTRL + S).
-
Cmd + Shift + P >>
Install Package
>> "Soda" theme. - Add
"theme": "Soda Dark.sublime-theme"
to your user config. - Restart ST2.
Note: Themes are different from color schemes, so they just impact the sidebar and other "chrome" elements. Another way to edit the sidebar color
I like the Soda color scheme (found as a download on this page). Instructions:
- Download colour-schemes.zip
- Unzip and place the extracted
tmtheme
files in the Sublime Text 2Packages/User
folder- Enable the colour scheme via
Preferences -> Color Scheme -> User
Note: The Packages/User
folder is here:
~/Library/Application\ Support/Sublime\ Text\ 2/Packages
-
Sublime Text 2
>>Preferences
>>Browse Packages...
- Open folder
User
. - Open/edit
Monokai Soda.tmTheme
. - Modify the background setting (notice the
40
, that's the opacity value):
<key>settings</key>
...
<key>foreground</key>
<string>#F8F8F240</string>
...
See:
- Sublime Text 2: How do I change the color that the row number is highlighted?
- Whitespace color or transparency