码迷,mamicode.com
首页 > 其他好文 > 详细

vscode快捷键

时间:2019-01-15 14:10:23      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:文件   lld   关闭   nal   编辑器   binding   code   previous   ext   

vscode快捷键

按 ctrl+shift+p 查找设置文件
Ctrl + W 关闭编辑器

设置定位到终端的快捷键:打开键盘配置文件,搜索focus terminal,找到聚焦到终端的命令,添加ctrl+2(删除被占用的)
{
"key": "ctrl+2",
"command": "workbench.action.terminal.focus"
}
与此同时设置聚焦到下一终端和上一终端的命令(同样删除已占用的),注意when条件,根据提示打开keybindings.json文件修改设置
{
"key": "alt+left",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "alt+right",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+up",
"command": "workbench.action.terminal.scrollUp",
"when": "terminalFocus"
},
{
"key": "ctrl+down",
"command": "workbench.action.terminal.scrollDown",
"when": "terminalFocus"
},
{
"key": "ctrl+pageup",
"command": "workbench.action.terminal.scrollUpPage",
"when": "terminalFocus"
},
{
"key": "ctrl+pagedown",
"command": "workbench.action.terminal.scrollDownPage",
"when": "terminalFocus"
}
另一方面,定位到文档编辑器可以使用已有的ctrl+1快捷键,定位到资源管理器用ctrl+shift+e,或者更简单的ctrl+0

vscode快捷键

标签:文件   lld   关闭   nal   编辑器   binding   code   previous   ext   

原文地址:https://www.cnblogs.com/ccdat/p/10271042.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!