Skip to content

Instantly share code, notes, and snippets.

@silesky
Last active May 10, 2017 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silesky/8d3b87b2aac5cc0b3805738540320dcd to your computer and use it in GitHub Desktop.
Save silesky/8d3b87b2aac5cc0b3805738540320dcd to your computer and use it in GitHub Desktop.
sublime settings (osx)
{
"debug": false,
"use_local_babel": true,
"node_modules": {
"windows": "C:/Program Files/nodejs/node_modules",
"linux": "/usr/lib/node_modules",
"osx": "/usr/local/lib/node_modules"
},
"options": {}
}
{
"codeformatter_debug": false,
"codeformatter_php_options":
{
"syntaxes": "php", // Syntax names which must process PHP formatter
"php_path": "", // Path for PHP executable, e.g. "/usr/lib/php" or "C:/Program Files/PHP/php.exe". If empty, uses command "php" from system environments
"format_on_save": false, // Format on save
"php55_compat": false, // PHP 5.5 compatible mode
"psr1": false, // Activate PSR1 style
"psr1_naming": false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case
"psr2": true, // Activate PSR2 style
"indent_with_space": 4, // Use spaces instead of tabs for indentation
"enable_auto_align": true, // Enable auto align of = and =>
"visibility_order": true, // Fixes visibility order for method in classes - PSR-2 4.2
"smart_linebreak_after_curly": true, // Convert multistatement blocks into multiline blocks
// Enable specific transformations. Example: ["ConvertOpenTagWithEcho", "PrettyPrintDocBlocks"]
// You can list all available transformations from command palette: CodeFormatter: Show PHP Transformations
"passes": [],
// Disable specific transformations
"exclude": []
},
"codeformatter_js_options":
{
"syntaxes": "javascript,json", // Syntax names which must process JS formatter
"format_on_save": false, // Format on save
"indent_size": 4, // indentation size
"indent_char": " ", // Indent character
"indent_with_tabs": false, // Indent with one tab (overrides indent_size and indent_char options)
"eol": "\n", // EOL symbol
"preserve_newlines": false, // whether existing line breaks should be preserved,
"max_preserve_newlines": 10, // maximum number of line breaks to be preserved in one chunk
"space_in_paren": false, // Add padding spaces within paren, ie. f( a, b )
"space_in_empty_paren": false, // Add padding spaces within paren if parent empty, ie. f( )
"e4x": false, // Pass E4X xml literals through untouched
"jslint_happy": false, // if true, then jslint-stricter mode is enforced. Example function () vs function()
"brace_style": "collapse", // "collapse" | "expand" | "end-expand". put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line.
"keep_array_indentation": false, // keep array indentation.
"keep_function_indentation": false, // keep function indentation.
"eval_code": false, // eval code
"unescape_strings": false, // Decode printable characters encoded in xNN notation
"wrap_line_length": 0, // Wrap lines at next opportunity after N characters
"break_chained_methods": false, // Break chained method calls across subsequent lines
"end_with_newline": false, // Add new line at end of file
"comma_first": false // Add comma first
},
"codeformatter_css_options":
{
"syntaxes": "css,less", // Syntax names which must process CSS formatter
"format_on_save": false, // Format on save
"indent_size": 4, // Indentation size
"indent_char": " ", // Indentation character
"indent_with_tabs": false, // Indent with one tab (overrides indent_size and indent_char options)
"selector_separator_newline": false, // Add new lines after selector separators
"end_with_newline": false, // Add new line of end in file
"newline_between_rules": false, // Add new line between rules
"eol": "\n" // EOL symbol
},
"codeformatter_scss_options":
{
"syntaxes": "scss", // Indentation size
"format_on_save": false, // Format on save
"indent_size": 2, // Indentation size
"indent_char": " ", // Indentation character
"indent_with_tabs": false, // Indent with one tab (overrides indent_size and indent_char options)
"selector_separator_newline": true, // Add new lines after selector separators
"end_with_newline": true // Add new line of end in file
},
"codeformatter_html_options":
{
"syntaxes": "html,blade,asp,xml", // Syntax names which must process HTML formatter
"format_on_save": false, // Format on save
"formatter_version": "bs4", // Which formatter to use. Current options are "bs4" and "regexp". If an error occurs while loading the bs4 formatter, the regexp formatter will automatically be used
"indent_size": 4, // indentation size
"indent_char": " ", // Indentation character
"indent_with_tabs": false, // Indent with one tab (overrides indent_size and indent_char options)
"exception_on_tag_mismatch": false, // If the last closing tag is not at the same indentation level as the first opening tag, there's probably a tag mismatch in the file
"expand_javascript": false, // (Under construction) Expand JavaScript inside of <script> tags (also affects CSS purely by coincidence)
"expand_tags": false, // Expand tag attributes onto new lines
"minimum_attribute_count": 2, // Minimum number of attributes needed before tag attributes are expanded to new lines
"first_attribute_on_new_line": false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)
"reduce_empty_tags": false, // Put closing tags on same line as opening tag if there is no content between them
"custom_singletons": "" // Custom singleton tags for various template languages outside of the HTML5 spec
},
"codeformatter_python_options":
{
"syntaxes": "python", // Syntax names which must process Python formatter
"format_on_save": false, // Format on save
"indent_size": 1, // indentation size
"indent_with_tabs": true, // Indent with tabs or spaces
"max_char": 80, // Width of output lines in characters.
"assignment": " = ", // This is how the assignment operator is to appear.
"function_param_assignment": "=", // This is how function-parameter assignment should appear.
"function_param_sep": ", ", // This is how function parameters are separated.
"list_sep": ", ", // This is how list items are separated.
"subscript_sep": "=", // This is how subscripts are separated.
"dict_colon": ": ", // This separates dictionary keys from values.
"slice_colon": ":", // this separates the start:end indices of slices.
"comment_prefix": "# ", // This is the sentinel that marks the beginning of a commentary string.
"shebang": "#!/usr/bin/env python", // Hashbang, a line-one comment naming the Python interpreter to Unix shells.
"boilerplate": "", // Standard code block (if any). This is inserted after the module doc string on output.
"blank_line": "", // This is how a blank line is to appear (up to the newline character).
"keep_blank_lines": true, // If true, preserve one blank where blank(s) are encountered.
"add_blank_lines_around_comments": true, // If true, set off comment blocks with blanks.
"add_blank_line_after_doc_string": true, // If true, add blank line after doc strings.
"max_seps_func_def": 3, // Split lines containing longer function definitions.
"max_seps_func_ref": 5, // Split lines containing longer function calls.
"max_seps_series": 5, // Split lines containing longer lists or tuples.
"max_seps_dict": 3, // Split lines containing longer dictionary definitions.
"max_lines_before_split_lit": 2, // Split string literals containing more newline characters.
"left_margin": "", // This is how the left margin is to appear.
"normalize_doc_strings": false, // If true, normalize white space in doc strings.
"leftjust_doc_strings": false, // If true, left justify doc strings.
"wrap_doc_strings": false, // If true, wrap doc strings to max_char.
"leftjust_comments": false, // If true, left justify comments.
"wrap_comments": false, // If true, wrap comments to max_char.
"double_quoted_strings": false, // If true, use quotes instead of apostrophes for string literals.
"single_quoted_strings": false, // If true, use apostrophes instead of quotes for string literals.
"can_split_strings": false, // If true, longer strings are split at the max_char.
"doc_tab_replacement": "....", // This literal replaces tab characters in doc strings and comments.
// Optionally preserve unassigned constants so that code to be tidied
// may contain blocks of commented-out lines that have been no-op'ed
// with leading and trailing triple quotes. Python scripts may declare
// constants without assigning them to a variables, but CodeFormatter
// considers this wasteful and normally elides them.
"keep_unassigned_constants": false,
// Optionally omit parentheses around tuples, which are superfluous
// after all. Normal CodeFormatter behavior will be still to include them
// as a sort of tuple display analogous to list displays, dict
// displays, and yet-to-come set displays.
"parenthesize_tuple_display": true,
// When CodeFormatter splits longer lines because max_seps
// are exceeded, the statement normally is closed before the margin is
// restored. The closing bracket, brace, or parenthesis is placed at the
// current indent level. This looks ugly to "C" programmers. When
// java_style_list_dedent is True, the closing bracket, brace, or
// parenthesis is brought back left to the indent level of the enclosing
// statement.
"java_style_list_dedent": false
},
"codeformatter_vbscript_options":
{
"syntaxes": "vbscript", // Syntax names which must process VBScript formatter
"format_on_save": false, // Format on save
"indent_size": 1, // indentation size
"indent_char": "\t", // Indentation character
"indent_with_tabs": true, // Indent with one tab (overrides indent_size and indent_char options)
"preserve_newlines": true, // Preserve existing line-breaks
"max_preserve_newlines": 10, // Maximum number of line-breaks to be preserved in one chunk
"opening_tags": "^(Function .*|Sub .*|If .* Then|For .*|Do While .*|Select Case.*)", // List of keywords which open a new block
"middle_tags": "^(Else|ElseIf .* Then|Case .*)$", // List of keywords which divide a block, but neither open or close the block
"closing_tags": "(End Function|End Sub|End If|Next|Loop|End Select)$" // List of keywords which close an open block
},
"codeformatter_coldfusion_options":
{
"syntaxes": "coldfusion,cfm,cfml", // Syntax names which must process Coldfusion Markup Language formatter
"format_on_save": false, // Format on save
"indent_size": 2, // indentation size
"indent_char": " ", // Indentation character
"indent_with_tabs": false, // Indent with one tab (overrides indent_size and indent_char options)
"exception_on_tag_mismatch": false, // If the last closing tag is not at the same indentation level as the first opening tag, there's probably a tag mismatch in the file
"expand_javascript": false, // (Under construction) Expand JavaScript inside of <script> tags (also affects CSS purely by coincidence)
"expand_tags": false, // Expand tag attributes onto new lines
"minimum_attribute_count": 2, // Minimum number of attributes needed before tag attributes are expanded to new lines
"first_attribute_on_new_line": false, // Put all attributes on separate lines from the tag (only uses 1 indentation unit as opposed to lining all attributes up with the first)
"reduce_empty_tags": false, // Put closing tags on same line as opening tag if there is no content between them
"custom_singletons": "" // Custom singleton tags for various template languages outside of the HTML5 spec
}
}
{
"extensions": [
"css.erb",
"css.liquid"
]
}
[
{ "keys": ["ctrl+shift+t"], "command": "open_terminal" },
{ "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
]
[
{
"keys": ["ctrl+super+c"],
"command": "find_description"
}
]
[
// Vintageous: disable arrow keys in insert mode
{"keys": ["left"], "command": "unbound", "args": {"mode": "mode_insert"},
"context": [
{"key": "vi_insert_mode_aware"},
{"key": "auto_complete_visible", "operand": false},
]},
{"keys": ["right"], "command": "unbound", "args": {"mode": "mode_insert"},
"context": [
{"key": "vi_insert_mode_aware"},
{"key": "auto_complete_visible", "operand": false},
]},
{"keys": ["up"], "command": "unbound", "args": {"mode": "mode_insert"},
"context": [
{"key": "vi_insert_mode_aware"},
{"key": "auto_complete_visible", "operand": false},
]},
{"keys": ["down"], "command": "unbound", "args": {"mode": "mode_insert"},
"context": [
{"key": "vi_insert_mode_aware"},
{"key": "auto_complete_visible", "operand": false},
]},
{ "keys": ["ctrl+alt+c"], "command": "side_bar_copy_path_absolute_from_project_encoded" },
{ "keys": ["shift+super+c"], "command": "copy_path"},
{ "keys": ["ctrl+y"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}},
{ "keys": ["f2"], "command": "sublimelinter_goto_error", "args": {"direction": "next"} },
{ "keys": ["shift-f2"], "command": "sublimelinter_goto_error", "args": {"direction": "previous"} },
{ "keys": ["ctrl+super+g"], "command": "noop" },
{ "keys": ["super+shift+r"], "command": "browser_refresh", "args": { "auto_save": true, "delay": 0.0, "activate": true,"browsers" : ["chrome"] }},
{ "keys": ["j", "j"], "command": "_enter_normal_mode", "args": {"mode": "mode_insert"}, "context": [{"key": "setting.command_mode", "operand": false}] },
]
[
{
"keys": ["ctrl+super+c"],
"command": "find_description"
}
]
[
{ "keys": ["ctrl+shift+t"], "command": "open_terminal" },
{ "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
]
[
{
"keys": ["ctrl+super+c"],
"command": "find_description"
}
]
[
{
"keys": ["alt+."],
"command": "tern_jump_to_def",
"context": [
{"key": "selector", "operand": "source.js"}
]
},
{
"keys": ["alt+,"],
"command": "tern_jump_back",
"context": [
{"key": "selector", "operand": "source.js"}
]
},
{
"keys": ["alt+space"],
"command": "tern_select_variable",
"context": [
{"key": "selector", "operand": "source.js"}
]
},
{
"keys": ["alt+o"],
"command": "tern_describe",
"context": [
{"key": "selector", "operand": "source.js"}
]
}
]
{
"extensions":
[
".env"
]
}
{
"extensions": [
"rails",
"erb"
]
}
{
"extensions": [
"html",
"htm",
"html.erb"
]
}
{
"extensions":
[
"hgn",
"hjs",
"mustache",
"hbs"
]
}
{
"extensions": [
"less",
"less.erb",
"less.liquid"
]
}
{
"omnisharp_server_config_location": "/Users/ssilesky/Library/Application Support/Sublime Text 3/Packages/OmniSharp/PrebuiltOmniSharpServer/config.json"
}
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"AutoFileName",
"Babel",
"BracketGuard",
"CodeFormatter",
"Color Highlighter",
"Console API Snippets (JavaScript)",
"Emmet",
"ESLint-Formatter",
"FindCursor",
"Keymaps",
"LESS",
"Package Control",
"Predawn",
"ProjectManager",
"react-native-snippets",
"SassBeautify",
"Seti_UI",
"SideBarEnhancements",
"SublimeLinter",
"SublimeLinter-contrib-eslint",
"SublimeLinter-csslint",
"SublimeLinter-php",
"Terminal",
"tern_for_sublime",
"Themes Menu Switcher",
"Twig",
"Vintageous",
"Visual Studio Dark",
"zenburn"
]
}
{
"extensions": [
"ini",
"txt",
"readme",
"changelog",
"log"
]
}
{
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin, text.html.basic",
"binary_file_patterns":
[
"*.foozip",
"*.foojpg",
"dist/*",
"node_modules/*"
],
"close_windows_when_empty": false,
"color_scheme": "Packages/zenburn/zenburn.tmTheme",
"file_exclude_patterns":
[
".DS_Store",
"*.fooexe",
"*.foodll"
],
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS"
],
"font_size": 14,
"hot_exit": false,
"ignored_packages":
[
"Vintage"
],
"open_files_in_new_window": false,
"remember_open_files": false,
"theme": "Default.sublime-theme",
"vintageous_autoindent": true,
"vintageous_enable_cmdline_mode": true,
"vintageous_hlsearch": true,
"vintageous_ignorecase": true,
"vintageous_incsearch": true,
"vintageous_log_level": "error",
"vintageous_magic": true,
"vintageous_reset_mode_when_switching_tabs": false,
"vintageous_use_ctrl_keys": false,
"vintageous_use_sys_clipboard": false,
"vintageous_verbose": false,
"word_wrap": false
}
{
"extensions":
[
"py3",
"pyw",
"pt"
]
}
{
"extensions":
[
"haml"
]
}
{
"extensions": [
"emblem"
]
}
{
"extensions": [
"rabl",
"jbuilder",
"rb",
"podspec",
"rake",
"simplecov",
"thor",
"ruby.rails"
]
}
{
"extensions": [
"rs",
]
}
{
"extensions": [
"sass",
"sass.erb",
"sass.liquid"
]
}
{
"extensions": [
"scss",
"scss.erb",
"scss.liquid"
]
}
{
"extensions": [
"Rakefile",
"zshrc",
"zprofile",
"zsh",
"Gemfile",
"Brewfile",
"Vagrantfile",
"symlink",
"zlogin",
"zshenv",
"Cheffile",
"zlogout",
"zpreztorc",
"Berkfile",
"bash",
"sh",
".zshrc",
".packages",
".extra",
".exports",
".pkginit",
".bash_profile",
".ackrc",
".screenrc",
".zpreztorc",
".wgetrc",
".curlrc",
".zlogout",
".inputrc",
".brew",
".bashrc",
".npmrc",
".zshenv",
".zprofile",
".xsessionrc",
".functions",
".bash_prompt",
".zlogin",
".symlink",
".aliases",
".hushlogin",
".osx"
]
}
set-option -g default-shell /bin/zsh
{
"user":
{
"debug": true,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Hands/Hands.gutter-theme",
"gutter_theme_excludes":
[
],
"lint_mode": "background",
"linters":
{
"csslint":
{
"@disable": false,
"args":
[
],
"errors": "",
"excludes":
[
],
"ignore": "",
"warnings": ""
},
"eslint":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
},
"lessc":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
},
"php":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
}
},
"mark_style": "solid underline",
"no_column_highlights_line": false,
"passive_warnings": false,
"paths":
{
"linux":
[
],
"osx":
[
"/usr/local/bin/"
],
"windows":
[
]
},
"python_paths":
{
"linux":
[
],
"osx":
[
],
"windows":
[
]
},
"rc_search_limit": 3,
"shell_timeout": 10,
"show_errors_on_save": false,
"show_marks_in_minimap": true,
"syntax_map":
{
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"javascript (babel)": "javascript",
"magicpython": "python",
"php": "html",
"python django": "python",
"pythonimproved": "python"
},
"warning_color": "DDB700",
"wrap_find": true
}
}
{
"attempts": 5,
"autorun": false,
"defaultExtension": ".html",
"interval": 500,
"mimetypes":
{
"": "application/octet-stream",
".c": "text/plain",
".h": "text/plain",
".py": "text/plain"
},
"port": 3333
}
{
// The command to execute for the terminal, leave blank for the OS default
// On OS X the terminal can be set to iTerm.sh to execute iTerm
"terminal": "",
// A list of default parameters to pass to the terminal, this can be
// overridden by passing the "parameters" key with a list value to the args
// dict when calling the "open_terminal" or "open_terminal_project_folder"
// commands
"parameters": []
}
{
"tern_argument_hints": true,
"tern_output_style": "tooltip",
"tern_argument_completion": true
}
{
"color_scheme": "Packages/Seti_UI/Widgets/Widget - Seti.stTheme",
"syntax": "Packages/Seti_UI/Widgets/console.sublime-syntax",
"draw_shadows": false
}
{
"color_scheme": "Packages/Seti_UI/Widgets/Widget - Seti.stTheme",
"syntax": "Packages/Seti_UI/Widgets/console.sublime-syntax",
"draw_shadows": false
}
{
"extensions": [
"xml",
"xslt",
"xml.dist",
"tmTheme",
"tmPreferences",
"sublime-snippet",
"xsd"
],
"hidden_extensions": [
"rss",
"vcproj",
"tmLanguage",
"tmSnippet",
"dae"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment