Skip to content

Instantly share code, notes, and snippets.

@me7
Last active August 29, 2015 14:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save me7/526364c956d4b89acc78 to your computer and use it in GitHub Desktop.
Save me7/526364c956d4b89acc78 to your computer and use it in GitHub Desktop.
Sublime Settings
[user]
name = \"kittys\"
email = \"xxxxx@gmail.com\"
[push]
default = matching
[github]
user = kittys
token =
git config --global github.user "your-github-username"
git config --global github.token "your-github-token"
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
ssh-add ~/.ssh/id_rsa
ssh -T git@github.com
git remote add origin https://github.com/USERNAME/OTHERREPOSITORY.git
{
"high_visibility_enabled_by_default": true,
"show_in_minimap": "outline",
}
{
"api_tokens": {
"github.com": "goto https://github.com/settings/tokens/new"
},
"show_commit_diff": true,
"inline_diff_auto_scoll": true,
"commit_help_extra_file": ".commit_help",
"show_remotes_in_branch_dashboard": true,
}
{
"fmt_cmd": ["goimports"],
"autocomplete_snippets": true,
"autocomplete_builtins": true,
"autocomplete_closures": true,
"autocomplete_suggest_imports": true,
"use_named_imports": true,
"fmt_tab_width": 4,
"default_snippets": [
{
"match": {"global": true, "pkgname": "."},
"snippets": [
{"text": "ife", "title": "if err!=nil {...}", "value": "if err != nil {\n\treturn err\n}\n\n$0"},
{"text": "ife1", "title": "if err!=nil {nil.err}", "value": "if err != nil {\n\treturn ${1: nil,}err\n}\n$0"},
{"text": "ifok", "title": "if err=n(); err {...}", "value": "if err = $1; err {\n\treturn $2, err\n}\n$0"},
{"text": "err", "title": ", err=$1; err {...}", "value": ", err = $1; err {\n\treturn $2, err\n}\n\n$0"},
{
"text": "func http handler",
"title": "func(rw, req)",
"value": "func ${1:name}(rw http.ResponseWriter, req *http.Request) {\n\t$0\n}"
}
]
},
],
}
{
"bold_folder_labels": true,
"caret_extra_bottom": 1,
"caret_extra_top": 1,
"caret_extra_width": 2,
"color_scheme": "Packages/Theme - Brogrammer/brogrammer.tmTheme",
"enable_telemetry": "false",
"fade_fold_buttons": false,
"font_size": 12,
"highlight_line": true,
"highlight_modified_tabs": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"scroll_speed": 2.0,
"show_encoding": true,
"show_full_path": true,
"show_line_endings": true,
"show_panel_on_build": true,
"show_tab_close_buttons": true,
"tab_size": 4,
"theme": "Brogrammer.sublime-theme",
"translate_tabs_to_spaces": false,
"word_wrap": true,
"wrap_width": 0
}
@me7
Copy link
Author

me7 commented May 30, 2015

[
{ "keys": ["shift+space"], "command": "show_overlay", "args": {"overlay": "command_palette"} }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment