【Visual Studio Code】---Custom keyboard shortcut settings

overview

  • A good article can help developers complete more convenient and faster development.
  • There are roads and diligence in the mountain of books, and there is no limit to the sea of ​​learning. I am Qiu Zhiye, and I hope that every developer who reads my articles can grow up.

1. Enter the keyboard shortcut settings

1. Enter the keyboard shortcut setting method 1

  • Access keyboard shortcut settings using shortcut keys
  • press firstCtrl + K
  • press againCtrl + S
  • These two are combination keys, the order cannot be messed up, and pay attention to uppercase
    insert image description here

2. Enter the keyboard shortcut setting method 2

  • Click on the settings gear in the lower left corner
    insert image description here
  • Choose a keyboard shortcut
    insert image description here
  • Go to keyboard shortcut settings
    insert image description here

2. Custom keyboard shortcuts

1. Search shortcut keys

  • For example, now we want to customize the shortcut key for search
  • We enter search in the search bar
    insert image description here

2. Custom keyboard shortcuts

  • We double-click the keyboard shortcut that needs to be modified
  • Previously it was Ctrl + F
    insert image description here
  • Now we change to Ctrl + numpad1, which is the number key 1 in the lower right corner of the keyboard
    insert image description here
  • Enter to save the keyboard shortcut
    insert image description here

Guess you like

Origin blog.csdn.net/weixin_44205779/article/details/131678316
Recommended