Last active
May 30, 2018 15:35
-
-
Save dy-dx/10658232 to your computer and use it in GitHub Desktop.
My custom Sublime Text 3 settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"binDir": "/Users/chris/.nvm/current/bin/" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* default keybindings I've overridden */ | |
/* { "keys": ["ctrl+tab"], "command": "next_view_in_stack" }, */ | |
/* { "keys": ["ctrl+shift+tab"], "command": "prev_view_in_stack" }, */ | |
/* { "keys": ["super+k", "super+w"], "command": "delete_to_mark" }, */ | |
/* { "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, */ | |
/* { "keys": ["ctrl+shift+p"], "command": "show_scope_name" }, */ | |
/* { "keys": ["super+k", "super+t"], "command": "fold_tag_attributes" }, */ | |
[ | |
{ "keys": ["ctrl+super+a"], "command": "alignment" } | |
, { "keys": ["ctrl+shift+q"], "command": "git_blame" } | |
, { "keys": ["ctrl+tab"], "command": "next_view" } | |
, { "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
, { "keys": ["super+k", "super+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} } | |
, { "keys": ["super+t"], "command": "new_file" } | |
, { "keys": ["alt+shift+r"], "command": "reveal_in_side_bar"} | |
/* same as pagedown https://www.gnu.org/software/emacs/manual/html_node/emacs/Moving-Point.html */ | |
, { "keys": ["ctrl+v"], "command": "move", "args": {"by": "pages", "forward": true } } | |
, { "keys": ["ctrl+shift+v"], "command": "move", "args": {"by": "pages", "forward": true, "extend": true } } | |
/* same as pageup */ | |
, { "keys": ["alt+v"], "command": "move", "args": {"by": "pages", "forward": false } } | |
, { "keys": ["alt+shift+v"], "command": "move", "args": {"by": "pages", "forward": false, "extend": true } } | |
/* same as alt+delete */ | |
, { "keys": ["ctrl+alt+d"], "command": "delete_word", "args": { "forward": true, "sub_words": false } } | |
/* same as ctrl+delete */ | |
, { "keys": ["ctrl+alt+shift+d"], "command": "delete_word", "args": { "forward": true, "sub_words": true } } | |
/* same as alt+backspace */ | |
, { "keys": ["ctrl+alt+h"], "command": "delete_word", "args": { "forward": false, "sub_words": false } } | |
/* same as ctrl+backspace */ | |
, { "keys": ["ctrl+alt+shift+h"], "command": "delete_word", "args": { "forward": false, "sub_words": true } } | |
/* same as ctrl+right */ | |
, { "keys": ["alt+f"], "command": "move", "args": {"by": "subword_ends", "forward": true} } | |
, { "keys": ["alt+shift+f"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} } | |
/* same as ctrl+left */ | |
, { "keys": ["alt+b"], "command": "move", "args": {"by": "subwords", "forward": false} } | |
, { "keys": ["alt+shift+b"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} } | |
, { "keys": ["ctrl+alt+f"], "command": "move", "args": {"by": "words", "forward": true} } | |
, { "keys": ["ctrl+alt+shift+f"], "command": "move", "args": {"by": "words", "forward": true, "extend": true} } | |
, { "keys": ["ctrl+alt+b"], "command": "move", "args": {"by": "words", "forward": false} } | |
, { "keys": ["ctrl+alt+shift+b"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} } | |
/* same as super+left */ | |
, { "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol"} } | |
/* same as super+shift+left */ | |
, { "keys": ["ctrl+shift+a"], "command": "move_to", "args": {"to": "bol", "extend": true} } | |
/* same as ctrl+alt+[up/down] */ | |
, { "keys": ["ctrl+alt+p"], "command": "scroll_lines", "args": {"amount": 1.0} } | |
, { "keys": ["ctrl+alt+n"], "command": "scroll_lines", "args": {"amount": -1.0} } | |
, { "keys": ["alt+p"], "command": "inc_dec_value", "args": { "action": "inc_min" } } | |
, { "keys": ["alt+n"], "command": "inc_dec_value", "args": { "action": "dec_min" } } | |
, { "keys": ["alt+shift+p"], "command": "inc_dec_value", "args": { "action": "inc_max" } } | |
, { "keys": ["alt+shift+n"], "command": "inc_dec_value", "args": { "action": "dec_max" } } | |
, { "keys": ["ctrl+alt+shift+p"], "command": "inc_dec_value", "args": { "action": "inc_all" } } | |
, { "keys": ["ctrl+alt+shift+n"], "command": "inc_dec_value", "args": { "action": "dec_all" } } | |
/* | |
, {"keys": ["alt+u"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false}} | |
, {"keys": ["alt+d"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true}} | |
, {"keys": ["shift+alt+u"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true}} | |
, {"keys": ["shift+alt+d"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true}} | |
*/ | |
, { "keys": ["alt+u"], "command": "jump_prev_indent" } | |
, { "keys": ["alt+shift+u"], "command": "jump_prev_indent", "args": { "extend_selection": true} } | |
, { "keys": ["alt+d"], "command": "jump_next_indent" } | |
, { "keys": ["alt+shift+d"], "command": "jump_next_indent", "args": { "extend_selection": true} } | |
/* same as ctrl+super+up */ | |
, { "keys": ["ctrl+super+p"], "command": "swap_line_up" } | |
/* same as ctrl+super+down */ | |
, { "keys": ["ctrl+super+n"], "command": "swap_line_down" } | |
/* same as ctrl+shift+up */ | |
, { "keys": ["ctrl+shift+p"], "command": "select_lines", "args": {"forward": false} } | |
/* same as ctrl+shift+down */ | |
, { "keys": ["ctrl+shift+n"], "command": "select_lines", "args": {"forward": true} } | |
/* same as super+delete */ | |
, { "keys": ["ctrl+k"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"} } | |
/* same as super+backspace but soft version */ | |
, { "keys": ["ctrl+u"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to BOL.sublime-macro"} } | |
, { "keys": ["super+k", "super+u"], "command": "upper_case" } | |
, { "keys": ["super+k", "super+l"], "command": "lower_case" } | |
, { "keys": ["super+k", "super+s"], "command": "swap_case" } | |
, { "keys": ["super+k", "super+t"], "command": "title_case" } | |
/* same as super+k, super+right */ | |
, { "keys": ["alt+tab"], "command": "focus_neighboring_group" } | |
, { "keys": ["alt+]"], "command": "focus_neighboring_group" } | |
/* same as super+k, super+left */ | |
, { "keys": ["alt+shift+tab"], "command": "focus_neighboring_group", "args": {"forward": false} } | |
, { "keys": ["alt+["], "command": "focus_neighboring_group", "args": {"forward": false} } | |
/* same as super+k, super+shift+right */ | |
, { "keys": ["alt+shift+]"], "command": "move_to_neighboring_group" } | |
/* same as super+k, super+shift+left */ | |
, { "keys": ["alt+shift+["], "command": "move_to_neighboring_group", "args": {"forward": false} } | |
/* | |
Binding "ctrl+[" to behave like "escape" | |
*/ | |
, { "keys": ["ctrl+["], "command": "single_selection", "context": | |
[{ "key": "num_selections", "operator": "not_equal", "operand": 1 }] | |
} | |
, { "keys": ["ctrl+["], "command": "clear_fields", "context": | |
[{ "key": "has_next_field", "operator": "equal", "operand": true }] | |
} | |
, { "keys": ["ctrl+["], "command": "clear_fields", "context": | |
[{ "key": "has_prev_field", "operator": "equal", "operand": true }] | |
} | |
, { "keys": ["ctrl+["], "command": "hide_panel", "args": {"cancel": true}, "context": | |
[{ "key": "panel_visible", "operator": "equal", "operand": true }] | |
} | |
, { "keys": ["ctrl+["], "command": "hide_overlay", "context": | |
[{ "key": "overlay_visible", "operator": "equal", "operand": true }] | |
} | |
, { "keys": ["ctrl+["], "command": "hide_popup", "context": | |
[{ "key": "popup_visible", "operator": "equal", "operand": true }] | |
} | |
, { "keys": ["ctrl+["], "command": "hide_auto_complete", "context": | |
[{ "key": "auto_complete_visible", "operator": "equal", "operand": true }] | |
} | |
/* EasyMotion deactivate */ | |
, { "keys": ["ctrl+["], "command": "deactivate_jump_targets", "context": | |
[{"key": "setting.easy_motion_mode"}] | |
} | |
/* | |
Double tap ctrl+r to reverse selections | |
*/ | |
, { "keys": ["ctrl+r", "ctrl+r"], "command": "permute_selection", "args": {"operation": "reverse"} } | |
, { "keys": ["alt+super+r"], "command": "reveal_in_side_bar"} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tab_size": 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_upgrade": false, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"ActionScript 3", | |
"Alignment", | |
"Babel", | |
"Better CoffeeScript", | |
"CakePHP (tmbundle)", | |
"CoffeeScriptHaml", | |
"Cucumber", | |
"CUDA C++", | |
"Dockerfile Syntax Highlighting", | |
"EasyMotion", | |
"EditorConfig", | |
"Elixir", | |
"Elm Language Support", | |
"Git", | |
"GitGutter", | |
"GitHubinator", | |
"GL Shader Validator", | |
"Gutter Color", | |
"Inc-Dec-Value", | |
"Increment Selection", | |
"Jade", | |
"JsPrettier", | |
"Jump Along Indent", | |
"LESS", | |
"MarkdownPreview", | |
"OpenGL Shading Language (GLSL)", | |
"Origami", | |
"Package Control", | |
"Processing", | |
"Pug", | |
"Python 3", | |
"Ruby Slim", | |
"Rust Enhanced", | |
"RustFmt", | |
"Sass", | |
"Stylus", | |
"SublimeLinter", | |
"SublimeLinter-coffeelint", | |
"SublimeLinter-eslint", | |
"SublimeLinter-flow", | |
"SublimeLinter-shellcheck", | |
"SublimeLinter-stylelint", | |
"Theme - Flatland", | |
"ToggleQuotes", | |
"TOML", | |
"x86 and x86_64 Assembly" | |
], | |
"submit_usage": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": | |
[ | |
"ctp", | |
"ctpm" | |
], | |
"tab_size": 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"close_windows_when_empty": true, | |
"caret_style": "blink", | |
"color_scheme": "Packages/User/Flatland Dark (SL).tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
".tddium" | |
], | |
"fold_buttons": false, | |
"folder_exclude_patterns": | |
[ | |
".git", | |
".hg", | |
".svn", | |
"CVS", | |
"tmp", | |
"log", | |
"node_modules", | |
"bower_components", | |
".bundle", | |
".sass-cache" | |
], | |
"font_face": "Inconsolata", | |
"font_size": 16.0, | |
"gutter": true, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": | |
[ | |
"draw_normal", | |
"draw_active" | |
], | |
"margin": 2, | |
"open_files_in_new_window": false, | |
"rulers": | |
[ | |
90 | |
], | |
"scroll_past_end": true, | |
"show_full_path": true, | |
"show_minimap": false, | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
"tree_animation_enabled": false, | |
"trim_trailing_white_space_on_save": true, | |
"wide_caret": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tab_size": 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "background", | |
"linters": { | |
"coffeelint": { | |
"@disable": false, | |
"args": [], | |
"excludes": [], | |
"max_line_length": { | |
"level": "ignore", | |
"limitComments": true, | |
"name": "max_line_length", | |
"value": 100 | |
} | |
}, | |
"jshint": { | |
"@disable": false, | |
"args": [], | |
"excludes": [] | |
} | |
}, | |
"mark_style": "outline", | |
"no_column_highlights_line": false, | |
"paths": { | |
"linux": [], | |
"osx": [], | |
"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", | |
"php": "html", | |
"python django": "python" | |
}, | |
"warning_color": "DDB700", | |
"wrap_find": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment