不幸的是,还没有这样的插件,但你可以定义一些自定义的键绑定,在某种程度上类似于 NERDTree (File > Preferences > Keyboard Shortcuts
然后点击链接keybindings.json
):
[
{
"key": "f",
"command": "explorer.newFile",
"when": "explorerViewletFocus && !inputFocus"
},
{
"key": "d",
"command": "explorer.newFolder",
"when": "explorerViewletFocus && !inputFocus"
},
{
"key": "x",
"command": "deleteFile",
"when": "explorerViewletFocus && !inputFocus"
},
{
"key": "r",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "enter",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{
"key": "o",
"command": "list.select",
"when": "listFocus && !inputFocus"
}
]
你可以改变key
是自由的,命令是不言自明的。我。 e:击中f
在资源管理器中将在选定的目录中添加一个文件并且...)。
幸运的是我们还有j
and k
浏览器中的运动通过vscodevim https://marketplace.visualstudio.com/items?itemName=vscodevim.vim plugin.
唯一缺少的部分是搜索树;当然,我们还承诺在 2019 年 1 月之前添加(请参阅问题#10026 https://github.com/Microsoft/vscode/issues/10026#issuecomment-447262282 )