Skip to content

Instantly share code, notes, and snippets.

@joeyespo
Last active August 20, 2018 04:40
Show Gist options
  • Save joeyespo/863cecb1e30aab74ce29f7dc3e1a2473 to your computer and use it in GitHub Desktop.
Save joeyespo/863cecb1e30aab74ce29f7dc3e1a2473 to your computer and use it in GitHub Desktop.
Sublime Text 3 Settings (2018)

My Sublime Text 3 Settings

[
{ "keys": ["ctrl+left"], "command": "move", "args": { "by": "stops", "by": "stops", "word_begin": true, "word_end": false, "line_begin": true, "line_end": true, "punct_begin": true, "punct_end": false, "forward": false } },
{ "keys": ["ctrl+right"], "command": "move", "args": { "by": "stops", "by": "stops", "word_begin": false, "word_end": true, "line_begin": true, "line_end": true, "punct_begin": false, "punct_end": true, "forward": true } },
{ "keys": ["ctrl+shift+left"], "command": "move", "args": { "by": "stops", "by": "stops", "word_begin": true, "word_end": false, "line_begin": true, "line_end": true, "punct_begin": true, "punct_end": false, "forward": false, "extend": true } },
{ "keys": ["ctrl+shift+right"], "command": "move", "args": { "by": "stops", "by": "stops", "word_begin": false, "word_end": true, "line_begin": true, "line_end": true, "punct_begin": false, "punct_end": true, "forward": true, "extend": true } },
{ "keys": ["ctrl+alt+left"], "command": "move", "args": { "by": "subwords", "forward": false } },
{ "keys": ["ctrl+alt+right"], "command": "move", "args": { "by": "subword_ends", "forward": true } },
{ "keys": ["ctrl+alt+shift+left"], "command": "move", "args": { "by": "subwords", "forward": false, "extend": true } },
{ "keys": ["ctrl+alt+shift+right"], "command": "move", "args": { "by": "subword_ends", "forward": true, "extend": true } },
{ "keys": ["alt+left"], "command": "jump_back" },
{ "keys": ["alt+right"], "command": "jump_forward" },
{ "keys": ["ctrl+shift+i"], "command": "unbind" },
{ "keys": ["ctrl+t"], "command": "unbind" },
{ "keys": ["ctrl+alt+o"], "command": "open_dir", "args": { "dir": "$file_path", "file": "$file_name" } },
{ "keys": ["ctrl+shift+g"], "command": "show_overlay", "args": { "overlay": "goto", "text": "@" } },
{ "keys": ["ctrl+shift+o"], "command": "show_overlay", "args": { "overlay": "goto", "show_files": true } },
// { "keys": ["f5"], "command": "show_overlay", "args": { "overlay": "command_palette" } },
{ "keys": ["ctrl+f5"], "command": "build" },
{ "keys": ["ctrl+y"], "command": "redo" },
{ "keys": ["ctrl+shift+c"], "command": "show_overlay", "args": { "overlay": "command_palette" } },
{ "keys": ["ctrl+u"], "command": "lower_case" },
{ "keys": ["ctrl+shift+u"], "command": "upper_case" },
{ "keys": ["ctrl+alt+shift+u"], "command": "title_case" },
{ "keys": ["ctrl+0"], "command": "reset_font_size" },
// SublimeLinter
{ "keys": ["f4"], "command": "sublimelinter_goto_error", "args": { "direction": "next" } },
{ "keys": ["shift+f4"], "command": "sublimelinter_goto_error", "args": { "direction": "previous" } },
// Jedi
// { "keys": ["f12"], "command": "sublime_jedi_goto", "context": [{ "key": "selector", "operator": "equal", "operand": "source.python" }] },
{ "keys": ["shift+f12"], "command": "sublime_jedi_find_usages" , "context": [{ "key": "selector", "operator": "equal", "operand": "source.python" }] },
{ "keys": ["f8"], "command": "sublime_jedi_signature", "context": [{ "key": "selector", "operator": "equal", "operand": "source.python" }] },
{ "keys": ["shift+f8"], "command": "sublime_jedi_docstring", "context": [{ "key": "selector", "operator": "equal", "operand": "source.python" }] },
// PythonIDE
{ "keys": ["f12"], "command": "goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.python" }] },
]
{
/*
"cmd": ["python", "-m", "http.server", "80", "&&", "python", "-m", "webbrowser", "-t", "$file"],
"selector": "source.html",
"working_dir": "file_path",
"target": "console_exec"
*/
"cmd": ["python", "-m", "webbrowser", "-t", "$file"],
}
{
"cmd": ["node", "$file"],
"selector": "source.js",
"target": "console_exec"
}
{
"draw_centered": true,
"extensions": ["js"],
"indent_subsequent_lines": false,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"word_wrap": true,
"wrap_width": 160
}
// These settings override both User and Default settings for the JSON (Sublime) syntax
{
"tab_size": 2
}
{
"cmd": ["npm", "start"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.json",
"target": "console_exec"
}
{
"bootstrapped": true,
"installed_packages":
[
"A File Icon",
"Babel",
"BracketHighlighter",
"Console Exec",
"JavaScript Enhancements",
"Jedi - Python autocompletion",
"Package Control",
"Pretty JSON",
"SublimeLinter",
"SublimeLinter-eslint",
"SublimeLinter-flake8",
"SublimeLinter-json",
"SublimePythonIDE",
"Vue Syntax Highlight"
]
}
{
"auto_close_tags": true,
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"
},
{
"characters": ".",
"selector": "source.js"
},
{
"characters": "(",
"selector": "source.js"
}
],
"auto_match_enabled": false,
"bold_folder_labels": true,
"caret_extra_bottom": 1,
"caret_extra_top": 1,
"caret_extra_width": 1,
"color_scheme": "Packages/User/Monokai (SL) (SublimePythonIDE).tmTheme",
"detect_slow_plugins": false,
"dictionary": "Packages/Language - English/English (American).dic",
"draw_white_space": "all",
"enable_tab_scrolling": false,
"folder_exclude_patterns":
[
".git",
".research",
"node_modules"
],
"font_face": "Roboto Mono",
"font_size": 9,
"hot_exit": false,
"ignored_packages":
[
"Vintage"
],
"remember_open_files": true,
"shift_tab_unindent": true,
"show_tab_close_buttons": false,
"spell_check": true,
"sublimepdb_build_target": "console_exec",
"theme": "Default.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}
{
"cmd": ["python", "-u", "$file"],
"selector": "source.python",
"file_regex": "file \"(...*?)\", line ([0-9]+)",
"target": "console_exec"
}
// These settings override both User and Default settings for the Python syntax
{
//"rulers": [0, 72, 79],
"tab_size": 4,
"draw_centered": true,
"wrap_width": 80,
"word_wrap": true,
"indent_subsequent_lines": false,
"auto_complete_triggers": [ {"selector": "source.python - string - comment - constant.numeroc", "characters": "."} ]
}
{
"python_linter_mark_style": "squiggly underline",
"python_linter_gutter_marks": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment