Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode: How do I set keyboard shortcut for Show All Opened Editors in Quick Open (edt command)

cmd+p (ctrl+p on windows) searches files in current project and if I want to search currently opened files I can do cmd+p and then type edt (one of the commands they show you when you press ? to list available commands)

vscode available commands from command palette

Is there a way to create a keyboard shortcut to open the command palette with edt pre-filled? Just like open symbols with @ pre-filled. In Sublime I can write "args": {"text": "@"} in the setting json file but I can't find anything similar in VSCode, any ideas?

like image 965
Slevin Avatar asked Mar 23 '17 16:03

Slevin


2 Answers

In vscode version 1.30.2
You can go to menu File -> Preferences -> Keyboard Shortcuts
And go to Show All Editors
The default is: Ctrl + K Ctrl + P

like image 149
danilo Avatar answered Oct 23 '22 23:10

danilo


Never mind, I only found out this command in default keybindings after I've made this post...

{ "key": "alt+cmd+tab", "command": "workbench.action.showAllEditors" },

like image 41
Slevin Avatar answered Oct 24 '22 00:10

Slevin