我的玩法(常用快捷键)
优质
小牛编辑
127浏览
2023-12-01
ctrl + command + f
放大到全屏- 设置Workbench主菜单快捷键,然后就有了
command + 1到4
的快捷键,快速切换 command + b
显示或隐藏(奇数次和偶数次)二级菜单,让可视区更大- 可视区内
command + \
新建编辑窗口(尤其是markdown里面,一个编写,一个预览shift + command + v
) - 可视区内
command + w
关闭编辑窗口 command + p
快速打开文件- 使用
ctrl + -
或者shift + ctrl + -
切换working files - 当前文档里搜索
command + -
- 所有文档里搜索
shift + command + -
shift + opt + f
格式化- 跳转行
command + l
(保持和textmate一致) ctrl + ~
打开或关闭terminal (v1.2新增功能)
具体配置见:
// 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" } ]