Last active
October 10, 2015 15:07
-
-
Save drublic/3709041 to your computer and use it in GitHub Desktop.
My Sublime Text 2 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
[ | |
{ "keys": ["ctrl+alt+f"], "command": "use_it" }, | |
{ "keys": ["ctrl+tab"], "command": "prev_view_in_stack" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "next_view_in_stack" }, | |
{ "keys": ["ctrl+shift+j"], "command": "js_run" }, | |
// Paste and indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" }, | |
// Insert console.log | |
{ "keys": ["super+shift+l"], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "console.log(${1:}$SELECTION);${0}" | |
} | |
}, | |
// Insert var_dump | |
{ "keys": ["super+shift+k"], | |
"command": "insert_snippet", | |
"args": { | |
"contents": "var_dump(${1:}$SELECTION);${0}" | |
} | |
} | |
] |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
".gitkeep" | |
], | |
"folder_exclude_patterns": | |
[ | |
".git", | |
".sass-cache", | |
"tmp" | |
], | |
"font_face": "Source Code Pro", | |
"font_size": 12.0, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": ["draw_normal", "draw_active"], | |
"line_padding_bottom": 1, | |
"line_padding_top": 1, | |
"rulers": | |
[ | |
80 | |
], | |
"scroll_past_end": true, | |
"tab_completion": true, | |
"tab_size": 4, | |
"theme": "Soda Light.sublime-theme", | |
"translate_tabs_to_spaces": false, | |
"trim_trailing_white_space_on_save": true | |
} |
For easier comments I use these two:
{ "keys": ["ctrl+q"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+c"], "command": "insert_snippet", "args": {"name": "Packages/User/InsertSectionComment.sublime-snippet"} },
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"open_files_in_new_window": false
is also handy.