Skip to content

Instantly share code, notes, and snippets.

@erikogan
Forked from jaredatron/Base File.sublime-settings
Last active September 27, 2015 19:28
Show Gist options
  • Save erikogan/1320577 to your computer and use it in GitHub Desktop.
Save erikogan/1320577 to your computer and use it in GitHub Desktop.
Default (OSX).sublime-keymap
{
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"detect_indentation": false,
"ensure_newline_at_eof_on_save": true,
"font_face": "Source Code Pro",
"font_size": 14.0,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"tab_size": 2,
"table_cleaner_align_to_middle": false,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}
[
{ "keys": ["shift+tab"], "command": "auto_complete" },
{ "keys": ["super+alt+]"], "command": "align_assignments" },
{ "keys": ["ctrl+shift+j]"], "command": "join_lines" },
{ "keys": ["super+alt+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },
{ "keys": ["ctrl+shift+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+t"], "command": "goto_recent" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["super+ctrl+w"], "command": "close_all" },
{ "keys": ["super+ctrl+alt+d"], "command": "toggle_side_bar" },
{ "keys": ["super+ctrl+shift+f"], "command": "toggle_full_screen" },
// Remap these, because my ancient Emacs tendencies are strong
{ "keys": ["ctrl+alt+q"], "command": "toggle_record_macro" },
{ "keys": ["ctrl+shift+q"], "command": "run_macro" },
{ "keys": ["ctrl+q"], "command": "wrap_lines" },
{ "keys": ["super+i"], "command": "reindent" },
{ "keys": ["super+shift+t"], "command": "goto_recent" },
{ "keys": ["super+\\"], "command": "Align Table Cells" },
{ "keys": ["super+k", "super+t"], "command": "title_case" },
// I have no idea where this is bound, but it annoys the crap out of me
{ "keys": ["alt+semicolon"], "command": "insert", "args": {"characters": "…"} },
// Markdown preview. This is global. Make it work first, then figure out how to turn it on only for .md files
{ "keys": ["super+shift+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"github"} }
]
# my bookmarks
https://pinboard.in/u:deadlyicon/t:sublime
http://wbond.net/sublime_packages/package_control
https://gist.github.com/1310957
https://github.com/aventurella/sublimetext-align-assignments
https://github.com/n00ge/sublime-text-haml-sass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment