VSCode:(控制)增加/减少当前拆分窗格宽度/高度的快捷键? [英] VSCode: Shortcut key for (controlling) increasing/decreasing current split panes width/height?
问题描述
有没有快速的键盘快捷键来控制当前分割窗格的宽度,至少增加和减少它?
Is there a quick keyboard shortcut to control the width of the current split pane , at least increasing and decreasing it ?
对于 vim 用户来说应该是:
for vim users it would be :
:垂直调整大小 80
:res +5
:res -5
:垂直缩放+5
:垂直调整大小 -5
等等...
推荐答案
对此没有默认快捷方式,但您可以创建自己的快捷方式.
There is no default shortcut for this but you can make your own.
以下适用于 Linux 上的 vscode 1.11.2 版,但对于 Windows 用户应该是相同的:
The following works on vscode version 1.11.2 on Linux but it should be the same for Windows users:
转到文件
>首选项
>键盘快捷键
Go to File
> Preferences
> Keyboard shortcuts
(也可以使用快捷键ctrl + k
ctrl + s
打开)
(or you can use the shortcut ctrl + k
ctrl + s
to open it)
搜索当前视图大小
,您可以设置自定义组合键以减小和增加当前视图的大小.
Search for current view size
and you can set your custom key combinations for decreasing and increasing the size of the current view.
这篇关于VSCode:(控制)增加/减少当前拆分窗格宽度/高度的快捷键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!