Last active
September 14, 2017 06:18
-
-
Save michaeljdennis/4513669 to your computer and use it in GitHub Desktop.
Sublime Text 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
[ | |
{ | |
"keys": ["super+shift+r"], | |
"command": "reindent", | |
"args": { | |
"single_line": false | |
} | |
}, | |
{ | |
"keys": ["super+v"], | |
"command": "paste_and_indent" | |
}, | |
{ | |
"keys": ["super+shift+v"], | |
"command": "paste" | |
} | |
] |
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
{ | |
"protected_regions": [ | |
"sublimelinter-warning-marks", | |
"sublimelinter-error-marks", | |
"sublimelinter-warning-gutter-marks", | |
"sublimelinter-error-gutter-marks" | |
] | |
} |
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
{ | |
// enable comp-lint, this will effectively disable the live linter | |
"comp_lint_enabled": true, | |
// list of commands to run | |
"comp_lint_commands": [ | |
// run `golint` on all files in the package | |
// "shell":true is required in order to run the command through your shell (to expand `*.go`) | |
// also see: the documentation for the `shell` setting in the default settings file ctrl+dot,ctrl+4 | |
{ | |
"cmd": ["golint", "*.go"], | |
"shell": true | |
}, | |
// run go vet on the package | |
{ | |
"cmd": ["go", "vet"] | |
}, | |
// run `go install` on the package. GOBIN is set, | |
// so `main` packages shouldn't result in the installation of a binary | |
{ | |
"cmd": ["go", "install"] | |
} | |
], | |
"fmt_cmd": ["goimports"], | |
"on_save": [ | |
// run comp-lint when you save, | |
// naturally, you can also bind this command `gs_comp_lint` | |
// to a key binding if you want | |
{ | |
"cmd": "gs_comp_lint" | |
} | |
] | |
} |
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
A File Icon | |
Dockerfile Syntax Highlighting | |
Emmet | |
Git | |
GitGutter | |
GoSublime | |
Package Control | |
Pretty JSON | |
SCSS | |
Theme - One Dark |
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": false, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Theme - One Dark/One Dark.tmTheme", | |
"draw_white_space": "all", | |
"enable_tab_scrolling": false, | |
"ensure_newline_at_eof_on_save": true, | |
"find_selected_text": true, | |
"folder_exclude_patterns": | |
[ | |
".git", | |
".sass-cache" | |
], | |
"font_size": 12, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": | |
[ | |
"draw_active" | |
], | |
"index_exclude_patterns": | |
[ | |
".git", | |
".sass-cache" | |
], | |
"line_padding_bottom": 2, | |
"line_padding_top": 2, | |
"open_files_in_new_window": false, | |
"rulers": | |
[ | |
72 | |
], | |
"save_on_focus_lost": true, | |
"tab_size": 4, | |
"theme": "One Dark.sublime-theme", | |
"translate_tabs_to_spaces": true, | |
"trim_trailing_white_space_on_save": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment