Skip to content

Instantly share code, notes, and snippets.

@lukewhitehouse
Last active September 26, 2015 21:44
Show Gist options
  • Save lukewhitehouse/94c7b2d1e84ba7ac3c50 to your computer and use it in GitHub Desktop.
Save lukewhitehouse/94c7b2d1e84ba7ac3c50 to your computer and use it in GitHub Desktop.
Sublime Text 3 settings

Sublime Text 3 settings

These are my current sublime text 3 settings.

Packages

Once you've installed Package Control, download the following packages:

Settings

Add the settings.json file contents to your User Settings found within Sublime Text > Preferences > Settings - User.

Editing Material Theme

  • Use PackageResourceViewer to extract your Material Theme so that you can modify its contents.
  • Go to Sublime Text > Preferences > Browse Packages, locate the Material Theme folder.

Change the following within the Material-Theme.sublime-theme file

Change every reference of 38, 50, 56 to 37, 43, 57.

Under @ TABS:

  • Go to // Tabs, comment out "layer1.texture": "Material Theme/assets/default/tab_current.png", and underneath add "layer1.tint": [30, 34, 45],.
  • Go to // Selected current tab and change the layer1.opacity to 1.

Editing Trailing Spaces

Go into Sublime Text > Preferences > Package Settings > Trailing Spaces > Settings - User and add the following:

{
    "trailing_spaces_highlight_color": "invalid.illegal"
}
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Colorsublime - Themes/Facebook.tmTheme",
"file_exclude_patterns":
[
".DS_Store",
"*.lib",
"*.log",
"apple-touch-icon*",
"favicon.ico"
],
"folder_exclude_patterns":
[
".git",
".bundle",
".sass-cache",
".svn",
".hg"
],
"font_face": "Source code pro",
"font_size": 14,
"ignored_packages":
[
"Vintage"
],
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
"line_padding_bottom": 3,
"line_padding_top": 3,
"overlay_scroll_bars": "enabled",
"theme": "Material-Theme.sublime-theme",
"translate_tabs_to_spaces": true,
"use_simple_full_screen": true
}

Useful shortcuts

Heres some useful shortcuts which'll speed up your workflow:

CMD + P

Browse any file within your current Sublime Text window (this includes multiple projects).

CMD + ↑/↓

Navigate to the top or bottom of the file you're currently in.

CMD + R

Go to a symbol/function/class/method within the current file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment