Last active
January 23, 2017 19:55
-
-
Save arleym/f2a293d8013484e28cb5 to your computer and use it in GitHub Desktop.
Subl Keyshorts
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
Show hidden characters
[ | |
// ASCII comment | |
{ "keys": ["super+alt+ctrl+k"], "command": "figlet_default" }, | |
// Jump around in CSS | |
{"keys": ["alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false}}, | |
{"keys": ["alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true}}, | |
{"keys": ["shift+alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true}}, | |
{"keys": ["shift+alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true}}, | |
// Prevent empty copy: http://sublimetexttips.com/prevent-copy-and-paste-rage-with-this-simple-tweak-part-2/ | |
{ "keys": ["super+c"], "command": "noop", "context": [ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_match", "operand": "^\\s*$", "match_all": true }, | |
{ "key": "following_text", "operator": "regex_match", "operand": "^\\s*$", "match_all": true } | |
] | |
}, | |
{ | |
"keys": ["super+x"], "command": "noop", "context": [ | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "preceding_text", "operator": "regex_match", "operand": "^\\s*$", "match_all": true }, | |
{ "key": "following_text", "operator": "regex_match", "operand": "^\\s*$", "match_all": true } | |
] | |
}, | |
{ | |
"keys": [ "ctrl+alt+v" ], "command": "view_in_browser", "args": { "browser": "chrome" } | |
}, | |
// https://packagecontrol.io/packages/Duplicate%20Lines | |
{ "keys": ["super+shift+d"], "command": "duplicate_lines" }, | |
{ "keys": ["super+shift+u"], "command": "duplicate_lines", "args": { "up": true } }, | |
{ "keys": ["keypad_enter"], "command": "find_next", "context": | |
[{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}] | |
}, | |
[ | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment