Keymap: add Shift-F1..3 editor shortcuts

Some frequently used editors didn't have F-key access.
This commit is contained in:
Campbell Barton 2018-12-12 11:35:30 +11:00
parent b87b6e8e28
commit 805bf5d602
1 changed files with 3 additions and 0 deletions

View File

@ -300,6 +300,9 @@ def km_window(params):
{"type": k, "value": 'PRESS', "shift": True},
{"properties": [("space_type", t)]})
for k, t in (
('F1', 'FILE_BROWSER'),
('F2', 'CLIP_EDITOR'),
('F3', 'NODE_EDITOR'),
('F4', 'CONSOLE'),
('F5', 'VIEW_3D'),
('F6', 'GRAPH_EDITOR'),