Skip to content

Instantly share code, notes, and snippets.

@DisposaBoy
Created April 16, 2013 14:16
Show Gist options
  • Save DisposaBoy/5396257 to your computer and use it in GitHub Desktop.
Save DisposaBoy/5396257 to your computer and use it in GitHub Desktop.
{
// margo will die if more than 300m memory is used (default is 1000)
"margo_oom": 300,
// don't exclude any linters (enabled gstypes(go/types) linter, although it's buggy)
"lint_filter": [],
// turn calltip-as-you-type on
"autocomplete_live_hint": true,
"on_save": [
// go install the pkg after i save
{"cmd": "gs9o_open", "args": {"run": ["go", "install"], "focus_view": false}}
]
}
{
// always show the code fodling buttons
"fade_fold_buttons": false,
// nice theme, requires https://github.com/buymeasoda/soda-theme
"theme": "Soda Light.sublime-theme",
// nice colour scheme, requires https://github.com/mybuddymichael/solarized-sublimetext2
"color_scheme": "Packages/Color Scheme - Misc/solarized-sublimetext2/Solarized (light).tmTheme",
// don't copy empty buffer, less hair hair loss
"copy_with_empty_selection": false,
// always show the indent guides and adjust the colour to make the active indent-level stand out
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
// i like my code to ideally be less than 100 cols wide, but a little over is ok, 120 and it's time for a line break
"rulers":
[
100,
120
],
"scroll_past_end": true,
// use [tab] to insert autocompletions - too many headache with [enter]
"auto_complete_commit_on_tab": true,
// cleanup trailing spaces
"trim_trailing_white_space_on_save": true,
// shows the time and the real cursor position in the status bar requires https://github.com/DisposaBoy/SublimeStatusLine
"status_line": "${hour}:${minute}:${second} · ${pos}/${size}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment