Last active
April 8, 2016 06:15
-
-
Save TracerLee/1da462b577e02c7f9495 to your computer and use it in GitHub Desktop.
Sublime Shortcut Setting
This file contains hidden or 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
[ | |
// 默认配置增强 | |
{ "keys": ["alt+shift+c"], "command": "clone_file" }, | |
{ "keys": ["ctrl+alt+shift+o"], "command": "prompt_open_folder" }, | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_add_folder" }, | |
{ "keys": ["ctrl+alt+e"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} }, | |
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }, | |
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 6.0 } }, | |
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -6.0 } }, | |
// alignment | |
{ "keys": ["ctrl+alt+d"], "command": "alignment" }, | |
// 浏览器打开配置 | |
{ "keys": ["f12"], "command": "side_bar_files_open_with", | |
"args": { | |
"paths": [], | |
"application": "F:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", | |
"extensions":".*" //any file with extension | |
} | |
}, | |
{ "keys": ["ctrl+f11"], "command": "side_bar_files_open_with", | |
"args": { | |
"paths": [], | |
"application": "F:\\Program Files\\Internet Explorer\\iexplore.exe", | |
"extensions":".*" //any file with extension | |
} | |
}, | |
{ "keys": ["f9"], "command": "side_bar_files_open_with", | |
"args": { | |
"paths": [], | |
"application": "D:\\Program Files (x86)\\360Chrome\\Chrome\\Application\\360chrome.exe", | |
"extensions":".*" //any file with extension | |
} | |
}, | |
/*{ | |
// 在jsx里面使用emmmet | |
"keys": ["tab"], "command": "expand_abbreviation_by_tab", "context": [ | |
{ | |
"operand": "source.js", | |
"operator": "equal", | |
"match_all": true, | |
"key": "selector" | |
}, | |
{ | |
"key": "selection_empty", | |
"operator": "equal", | |
"operand": true, | |
"match_all": true | |
} | |
] | |
},*/ | |
// 在jsx里面使用emmmet | |
/*{ "keys": ["tab"], "command": "next_field", "context": | |
[ | |
{ "key": "has_next_field", "operator": "equal", "operand": true } | |
] | |
}*/ | |
// linter | |
{ "keys": ["alt+shift+n"], "command": "sublimelinter_goto_error", "args": {"direction": "next"} }, | |
{ "keys": ["alt+shift+p"], "command": "sublimelinter_goto_error", "args": {"direction": "previous"} }, | |
{ "keys": ["alt+shift+a"], "command": "sublimelinter_show_all_errors" }, | |
{ "keys": ["alt+shift+t"], "command": "sublimelinter_toggle_linter", "args": {"which": "all"}}, | |
// svn | |
{ "keys": ["alt+l"], "command": "svn_log" }, | |
{ "keys": ["alt+d"], "command": "svn_diff" } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment