Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
626 views
in Technique[技术] by (71.8m points)

visual studio code - How do I find out which command name is bound to a particular key sequence in VSCode and vice-versa?

Are there commands equivalent to Emacs' C-h k and C-h w?

If not, is there at least a big file containing all keybindings I can search through?

Edit: the "vice-versa" is trivial if you know the command name. Just type it in the command prompt and it shows the associated keybinding. I'm more interested in the former.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Open the keyboard shortcuts editor (cmd+k cmd+s), and you can search for keybindings to see what they're bound to. e.g. search cmd+s and "Save" will be returned.

You can also click the keybindings.json link on that page to see all the keybindings in json form.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...