├── Preferences.sublime-settings ├── GoSublime.sublime-settings ├── .gitignore └── Default (Linux).sublime-keymap /Preferences.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "font_size": 10, 3 | "ignored_packages": 4 | [ 5 | "Vintage" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /GoSublime.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | // Perform goimports every time you save a file 3 | "fmt_cmd": ["goimports"] 4 | } 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything 2 | * 3 | 4 | # Except these files 5 | !Default (Linux).sublime-keymap 6 | !GoSublime.sublime-settings 7 | !Preferences.sublime-settings 8 | !.gitignore 9 | -------------------------------------------------------------------------------- /Default (Linux).sublime-keymap: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "keys": ["ctrl+t"], 4 | "command": "gs_test", 5 | "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] 6 | }, 7 | { 8 | "keys": ["ctrl+shift+b"], 9 | "command": "gs9o_open", 10 | "args": {"run": ["replay"], "focus_view": true}, 11 | "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] 12 | }, 13 | { 14 | "keys": ["ctrl+i"], 15 | "command": "gs_palette", 16 | "args": {"palette": "imports", "direct": true}, 17 | "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] 18 | }, 19 | { "keys": ["ctrl+shift+k"], "command": "exec", "args": {"kill": true} }, 20 | { "keys": ["ctrl+'"], "command": "show_panel", "args": {"panel": "console", "toggle": true} } 21 | 22 | ] 23 | --------------------------------------------------------------------------------