Skip to content

Commit

Permalink
add go to line command + l
Browse files Browse the repository at this point in the history
  • Loading branch information
i5ting committed May 26, 2016
1 parent 67bd058 commit c9b723d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ var opts = $.extend({},$.fn.tab.defaults,options);
- 缩小 command + -
- 插入表情 ctrl + command + space
- 列编辑 alt + shift 然后使用鼠标点选即可,也算是比较实用
- 跳转行 ctrl + g

搜索

Expand All @@ -559,6 +560,9 @@ var opts = $.extend({},$.fn.tab.defaults,options);
- 当前文档里搜索 `command + -`
- 所有文档里搜索 `shift + command + -`
- `shift + opt + f`格式化
- 跳转行 command + l(保持和textmate一致)

具体配置见[keyboard.json](./keyboard.json)

## 配置文件

Expand Down
14 changes: 14 additions & 0 deletions keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+f12", "command": "editor.action.goToDeclaration",
"when": "editorTextFocus" },
{ "key": "shift+space", "command": "editor.action.triggerSuggest",
"when": "editorTextFocus" },
{ "key": "cmd+1", "command": "workbench.view.explorer" },
{ "key": "cmd+2", "command": "workbench.view.search" },
{ "key": "cmd+3", "command": "workbench.view.git" },
{ "key": "cmd+4", "command": "workbench.view.debug" },
{ "key": "f9", "command": "workbench.action.debug.stepOver",
"when": "inDebugMode" },
{ "key": "ctrl+g", "command": "workbench.action.gotoLine" }
]

0 comments on commit c9b723d

Please sign in to comment.