Skip to content

Instantly share code, notes, and snippets.

@Thibzzz
Last active October 23, 2017 13:20
Show Gist options
  • Save Thibzzz/94b4fa37bf22c29d3553868841acd583 to your computer and use it in GitHub Desktop.
Save Thibzzz/94b4fa37bf22c29d3553868841acd583 to your computer and use it in GitHub Desktop.
sublime text config
[
{ "keys": ["super+b"], "command": "toggle_side_bar" },
{ "keys": ["super+forward_slash"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["shift+tab"], "command": "insert", "args": {"characters": "\t"} },
{ "keys": ["shift+tab"], "command": "unindent", "context":
[
{ "key": "setting.shift_tab_unindent", "operator": "equal", "operand": true }
]
},
{ "keys": ["shift+tab"], "command": "unindent", "context":
[
{ "key": "preceding_text", "operator": "regex_match", "operand": "^[\t ]*" }
]
},
{ "keys": ["shift+tab"], "command": "unindent", "context":
[
{ "key": "text", "operator": "regex_contains", "operand": "\n" }
]
},
{ "keys": ["shift+tab"], "command": "prev_field", "context":
[
{ "key": "has_prev_field", "operator": "equal", "operand": true }
]
},
]

installation

STR

sublime package manager

open console (View > Show console) && paste this from https://packagecontrol.io/installation

import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) 

get font

Get fira mono on your system form : Fira mono

change configs

open cmd prompt and type

Package control settings

Go to user file then paste the corresponding file from this gist.

Do the same with

Preferences settings
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"Agila Theme",
"Alignment",
"Atomic Color Scheme",
"AutoFileName",
"AutoSetSyntax",
"Babel",
"Boxy Theme",
"BracketHighlighter",
"Browser Refresh",
"ChangeQuotes",
"ColorPicker",
"CSS Format",
"CSScomb",
"DocBlockr",
"EditorConfig",
"Emmet",
"ESLint",
"ESLint-Formatter",
"GitlabIntegrate",
"HTML Nest Comments",
"HTML-CSS-JS Prettify",
"HTMLAttributes",
"JavaScriptNext - ES6 Syntax",
"JSON Reindent",
"Laravel Blade Highlighter",
"Laravel Blade Spacer",
"MarkdownEditing",
"Materialize",
"Monocyanide Colorscheme",
"Monokai - Spacegray",
"Monokai Gray",
"One Dark Color Scheme",
"One Dark Material - Theme",
"Package Control",
"PackageResourceViewer",
"Predawn",
"Sass",
"SassBeautify",
"SCSS",
"SCSS Expander",
"Seti_UI",
"Seti_UX",
"SideBarEnhancements",
"SublimeCodeIntel",
"SublimeLinter",
"SublimeLinter-contrib-eslint",
"SublimeLinter-jshint",
"SublimeLinter-json",
"Sublimerge 3",
"Theme - Afterglow",
"Theme - One Dark",
"Theme - Seti Monokai",
"Theme - Spacegray",
"Themr",
"Trimmer",
"Twilightcyanide Colorscheme"
]
}
{
"color_scheme": "Packages/User/SublimeLinter/Monokai Phoenix (SL).tmTheme",
"draw_minimap_border": true,
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"node_modules",
".vendor",
"vendor",
".node_modules"
],
"font_face": "Fire Mono",
"font_size": 15,
"gutter": true,
"highlight_line": true,
"ignored_packages":
[
"Vintage",
"Markdown"
],
"remember_full_screen": true,
"spell_check": false,
"tab_size": 2,
"theme": "Material Monokai Soda.sublime-theme",
"translate_tabs_to_spaces": true,
"use_tab_stops": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment