Skip to content

Instantly share code, notes, and snippets.

@SamLau95
Last active August 29, 2015 14:06
Show Gist options
  • Save SamLau95/fc1a71969d90c74751b9 to your computer and use it in GitHub Desktop.
Save SamLau95/fc1a71969d90c74751b9 to your computer and use it in GitHub Desktop.
Sublime Preferences
[
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+shift+v"], "command": "paste" },
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
{ "keys": ["ctrl+u"], "command": "soft_undo" },
{ "keys": ["ctrl+w"], "command": "close_file" },
{ "keys": ["ctrl+'"], "command": "change_quotes" },
{ "keys": ["ctrl+alt+i"], "command": "prompt_insert_nums" },
{ "keys": ["ctrl+shift+i"], "command": "delete_trailing_spaces" },
{ "keys": ["ctrl+shift+u"], "command": "toggle_trailing_spaces" },
{ "keys": ["ctrl+shift+."], "command": "erb", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.ruby, text.haml, source.yaml, source.css, source.scss, source.js, source.coffee" }
]
},
{ "keys": ["j", "k"], "command": "exit_insert_mode",
"context":
[
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]
},
{ "keys": ["j", "k"], "command": "exit_visual_mode",
"context":
[
{ "key": "setting.command_mode"},
{ "key": "num_selections", "operand": 1},
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": false }
]
}
]
{
"atomic_save": false,
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"ensure_newline_at_eof_on_save": true,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages": ["Vintage"],
"reveal-on-activate": true,
"rulers":
[
80
],
"save_on_focus_lost": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"vintage_start_in_command_mode": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment