Skip to content

Instantly share code, notes, and snippets.

@davidkuster
Last active August 31, 2022 16:38
Show Gist options
  • Save davidkuster/efa79dcda9479a7ca727ca573c45a32d to your computer and use it in GitHub Desktop.
Save davidkuster/efa79dcda9479a7ca727ca573c45a32d to your computer and use it in GitHub Desktop.
Sublime Text 3 config
[
{ "keys": ["ctrl+b"], "command": "toggle_side_bar" },
// shortcuts for home and end keys because of the 6 row lenovo keyboard layout
{ "keys": ["ctrl+,"], "command": "move_to", "args": {"to": "bol", "extend": false} },
{ "keys": ["ctrl+."], "command": "move_to", "args": {"to": "eol", "extend": false} },
// shift shortcuts to select text with home & end shortcuts
{ "keys": ["shift+ctrl+,"], "command": "move_to", "args": {"to": "bol", "extend": true} },
{ "keys": ["shift+ctrl+."], "command": "move_to", "args": {"to": "eol", "extend": true} },
// shortcuts for page up & page down keys because of the 6 row lenovo keyboard
{ "keys": ["ctrl+u"], "command": "move", "args": {"by": "pages", "forward": false} },
{ "keys": ["ctrl+m"], "command": "move", "args": {"by": "pages", "forward": true} },
// shortcuts for arrow keys
{ "keys": ["ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false} },
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true} },
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "characters", "forward": false} },
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true} },
// shift shortcuts for arrow keys to select text while moving
{ "keys": ["shift+ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} },
{ "keys": ["shift+ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} },
{ "keys": ["shift+ctrl+j"], "command": "move", "args": {"by": "characters", "forward": false, "extend": true} },
{ "keys": ["shift+ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true, "extend": true} },
// multi-line/cursor select
{ "keys": ["super+shift+i"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["super+shift+k"], "command": "select_lines", "args": {"forward": true} },
// update paste to auto-indent
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
// patch OSX - goto anything with ctrl+p
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// patch OSX - redo
{ "keys": ["ctrl+y"], "command": "redo_or_repeat" },
// patch OSX - file open
{ "keys": ["ctrl+o"], "command": "prompt_open" },
// ctrl+h for find/replace
{ "keys": ["ctrl+h"], "command": "show_panel", "args": {"panel": "replace"} },
// fold/unfold
{ "keys": ["ctrl+["], "command": "fold" },
{ "keys": ["ctrl+]"], "command": "unfold" },
{ "keys": ["ctrl+-"], "command": "fold_by_level", "args": {"level": 2} },
{ "keys": ["ctrl+="], "command": "unfold_all" }
]
Cucumber
Dockerfile Syntax Highlighting
FileDiffs
GitGutter
Indent XML
Log4jView
Markdown Preview
Origami
Package Control
Pretty JSON
Terraform
{
"auto_complete_commit_on_tab": true,
"auto_complete_selector": "source, comment, text",
"caret_style": "solid",
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",
"detect_indentation": true,
"draw_minimap_border": true,
"enable_tab_scrolling": false,
"file_exclude_patterns":
[
".hgignore",
".hgtags",
".gitignore",
".DS_Store",
"*.class",
"*.iml"
],
"find_selected_text": true,
"folder_exclude_patterns":
[
".svn",
".groovy",
"target",
".hg",
".hgcheck",
".git",
".idea",
".gradle"
],
"font_face": "Source Code Pro",
"font_options":
[
"subpixel_antialias"
],
"font_size": 12.5,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage",
],
"line_padding_bottom": 0,
"line_padding_top": 0,
"preview_on_click": false,
"remember_full_screen": true,
"scroll_past_end": true,
"scroll_speed": 0.1,
"show_full_path": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"use_tab_stops": true,
"word_wrap": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment