-
Notifications
You must be signed in to change notification settings - Fork 96
/
Default (OSX).sublime-keymap
31 lines (26 loc) · 1.51 KB
/
Default (OSX).sublime-keymap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[
{ "keys": ["shift+tab"], "command": "reindent" , "args": { "single_line": false } },
// 系统默认是 { "keys": ["ctrl+space"], "command": "auto_complete" },
// 但是我系统上 "ctrl+space" 是用来切换输入法的
{ "keys": ["alt+space"], "command": "auto_complete" },
// 用来在 .erb 文件中输入 <%= %>,再敲一次可以变成 <% %>
// 需要安装包: https://github.com/eddorre/SublimeERB
{ "keys": ["ctrl+shift+."], "command": "erb" }
// 下面这些是我从 'Key binding Default' 中直接拷贝过来的,为的是帮助记忆
// { "keys": ["super+n"], "command": "new_file" },
// { "keys": ["super+s"], "command": "save" },
// { "keys": ["super+w"], "command": "close" },
// { "keys": ["super+k", "super+b"], "command": "toggle_side_bar" },
// { "keys": ["super+z"], "command": "undo" },
// { "keys": ["super+y"], "command": "redo_or_repeat" },
// { "keys": ["ctrl+tab"], "command": "next_view_in_stack" },
// { "keys": ["super+]"], "command": "indent" },
// { "keys": ["super+["], "command": "unindent" },
// { "keys": ["ctrl+minus"], "command": "jump_back" }, // after search jump
// { "keys": ["super+f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} },
// { "keys": ["f4"], "command": "next_result" },
// { "keys": ["shift+f4"], "command": "prev_result" },
// { "keys": ["ctrl+super+up"], "command": "swap_line_up" },
// { "keys": ["ctrl+super+down"], "command": "swap_line_down" },
// { "keys": ["super+b"], "command": "build" },
]