1,原因

由于工作需要,要在不用操作系统使用VS Code,但是不同操作系统下的快捷键又有差异,操作不便,需要设置。

2,向前/向后默认快捷键

Visual Studio Code的向前、向后 定位的默认快捷键如下:

Windows:
向后: Alt+←(左方向键)
向前:Alt+→(右方向键)

MacOS:
向后: Ctrl+-
向前:Ctrl+Shift+-

On Ubuntu Linux:
向后:Ctrl+Alt+-
向前:Ctrl+Shift+-

3, 查看和修改快捷键

在[File] --> [ Preferences ] --> [Keyboard shortcuts],

找到或者直接搜"Go Back"和"Go Forward",就能看到快捷键了,双击,按住自定义快捷键 再按回车确定,OK了。

【Visual Studio Code】VS Code在Linux/Mac/Windows中向前、向后定位的快捷键及修改方法

相关文章:

  • 2021-03-30
  • 2021-07-31
  • 2021-08-25
  • 2021-10-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-08-02
  • 2021-05-31
  • 2022-12-23
相关资源
相似解决方案