Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio code how to add a keybinding for a command palette entry

For example, I would like to add a key binding Ctrl+R Ctrl+T for the entry:

Python: Run Python File In Terminal

Many thanks.

like image 652
user2813547 Avatar asked Jan 22 '18 18:01

user2813547


1 Answers

You can do that in the Preferences -> Keyboard Shortcuts section. Search for "Run Python File in Terminal", select the command and press the little + sign on the left.

like image 62
Max S. Avatar answered Oct 19 '22 19:10

Max S.