VSCode添加 home 和 end键

code - preferences - keyboard shortcuts - keybindings.json:
 
添加:
{
  "key": "home",
  "command": "cursorTop",
  "when": "editorTextFocus"
},
{
  "key": "end",
  "command": "cursorBottom",
  "when": "editorTextFocus"
},
 
 
 
附:
vscode中快速移动至标签结尾

Mac Cmd+Shift+\

Windows Ctrl+Shift+\

 

如果有用关注我下~ 

posted @ 2020-05-13 21:30  hh9515  阅读(666)  评论(0)    收藏  举报