Settings > Shortcuts lists default shortcuts you can use while focused in DevTools to speed up your workflow.
For a full list of default shortcuts, see Keyboard shortcuts.
Customize shortcuts
To customize keyboard shortcuts:
- Open Settings.
In the Shortcuts tab, hover over any shortcut and click the Edit button.
Put the cursor in the text bar and press any convenient combination of keys (chord). DevTools notifies you if the combination is already in use.
Record a new combination and click the Check button.
To revert or delete changes, click Back or Delete.
Add shortcuts to unassigned actions
By default, DevTools doesn't assign shortcuts to all available actions.
For example, to toggle light and dark theme preference with a keystroke, in the Settings > Shortcuts > Rendering section, set your own shortcut as described in Customize shortcuts.
Restore default shortcuts
To bring back defaults, click Restore default shortcuts in the bottom-right corner of the Settings > Shortcuts tab.