vscode 使用键盘打开 git分支面板

 

 

vscode左下角有个很方便的选择分支的功能,但是需要用鼠标手动去点击, 下面给出一种可以直接使用键盘操作的方式

 

file - preferences - keyboard shortcuts - keybindings.json:

{
  "key": "shift+cmd+c",
  "command": "git.checkout"
}

 

posted @ 2020-08-06 17:50  hh9515  阅读(806)  评论(0编辑  收藏  举报