Created
July 3, 2013 22:05
-
-
Save AlexPashley/5923280 to your computer and use it in GitHub Desktop.
JSON: Sublime Text 2 - Key Bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hints | |
/* | |
# Ctrl + / # | comment line | |
# Ctrl + alt + x # | prefix css | |
# Ctrl + Shift + K # | Delete line | |
# Ctrl + Shift + a # | select text in <HTML> tag <p>[here]</p> | |
# Ctrl + ALT + M # | MINIFY SELECTED TEXT | |
*/ | |
[ | |
// swap lines | |
{ "keys": ["alt+shift+up"], "command": "swap_line_up" }, | |
{ "keys": ["alt+shift+down"], "command": "swap_line_down" }, | |
// copy lines | |
{ "keys": ["ctrl+shift+up"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+shift+down"], "command": "duplicate_line" }, | |
// indentation | |
{ "keys": ["alt+shift+left"], "command": "unindent" }, | |
{ "keys": ["alt+shift+right"], "command": "indent" }, | |
// console | |
{ "keys": ["`"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }, | |
// new file | |
{ "keys": ["n", "n"], "command": "advanced_new_file" }, | |
// sFTP | |
{ "keys": ["ctrl+shift+u"], "command": "sftp_upload_file" }, | |
// wrap TAG | |
{ "keys": ["ctrl+t"], "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" } }, | |
// function list | |
{ "keys": ["ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@function "} }, | |
// github gist | |
{ "keys": ["ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@function "} }, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment