Skip to content

Instantly share code, notes, and snippets.

@huyanhvn
Last active May 11, 2016 13:42
Show Gist options
  • Save huyanhvn/8a04afbc4abfd4f04045 to your computer and use it in GitHub Desktop.
Save huyanhvn/8a04afbc4abfd4f04045 to your computer and use it in GitHub Desktop.
sublime user key bindings
[
{ "keys": ["ctrl+x"], "command": "cut" },
{ "keys": ["ctrl+c"], "command": "copy" },
{ "keys": ["ctrl+v"], "command": "paste" },
{ "keys": ["ctrl+shift+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+s"], "command": "save" },
{ "keys": ["ctrl+z"], "command": "undo" },
{ "keys": ["ctrl+shift+z"], "command": "redo" },
{ "keys": ["ctrl+y"], "command": "redo_or_repeat" },
{ "keys": ["ctrl+u"], "command": "soft_undo" },
{ "keys": ["ctrl+shift+u"], "command": "soft_redo" },
{ "keys": ["ctrl+f"], "command": "show_panel", "args": {"panel": "find"} },
{ "keys": ["ctrl+alt+f"], "command": "show_panel", "args": {"panel": "replace"} },
{ "keys": ["ctrl+alt+e"], "command": "replace_next" },
{ "keys": ["ctrl+g"], "command": "find_next" },
{ "keys": ["ctrl+shift+g"], "command": "find_prev" },
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },
{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true } }
]
Sublime Text -> Preferences -> Settings - More -> Syntax Specific - User
{
"tab_size": 2,
"translate_tabs_to_spaces": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment