Useful Hotkeys
Useful hotkeys for Windows and Windows applications
Useful Hotkeys
Hotkeys
Windows
Control + Shift + Clickon an application in the taskbar => run application as administratorWindows + Print Screen=> save a screenshot to%USERPROFILE%/Pictures/ScreenshotsWindows + Shift + S=> open the clipping tool to screenshot a part of the screenWindows + A=> open action center / notification centerWindows + D=> toggle the desktopWindows + P=> cycle through display options (for example if a second monitor is attached)Windows + {0-9}=> open (or toggle visible) application on the taskbar in that number positionWindows + X=> open a set ofWindowscommandsWindows + V=> open theWindowsclipboard- This has a history of things you have recently copied, very useful if you accidentally overwrite something you wanted to paste
Windows + X then U then U=> shut down your PCWindows + X then I=> open the terminalWindows + X then A=> open the terminal as administrator
VSCode
Ctrl + K then Ctrl + S=> Open keyboard shortcutsCtrl + ,=> Open settingsCtrl + Shift + T=> Reopen recently closed tabCtrl + Shift + F=> Find in all files (in the workspace)Ctrl + Shift + H=> Replace in all files (in the workspace)Alt + Shift + F=> Run the formatter on code, fixing code indents and layout- Requires an installed formatter for the current language
Ctrl + Alt + ↑ or ↓=> add a new cursor on the line above / below at the same position- If you start the first cursor on the longest line of things you plan to select, the new cursors will go to the end point of each new line you add a cursor to
Ctrl + Shift + K=> Delete the current line, similar toCtrl + Xbut without copying the textCtrl + Shift + D=> Duplicate the current line to the line belowAlt + ← or →=> Go back or forward to previously focused textAlt + ↑ or ↓=> Move the current line up or downShift + Alt + ↑ or ↓=> Copy the current line up or downCtrl + /=> Toggle line commentShift + Alt + A=> Toggle block commentCtrl + G=> Go to a specific lineCtrl + L=> Select the current lineCtrl + Shift + P=> Open the ‘Command Palette’Ctrl + P=> Open the ‘Quick Open Palette’Ctrl + Shift + [=> Fold the current region / fold mouse selectionCtrl + Shift + ]=> Unfold the current region / unfold mouse selectionCtrl + K then Ctrl + 0=> Fold all commentsCtrl + K then Ctrl + J=> Unfold all commentsCtrl + Shift + LorCtrl + F2=> allows you to change all uses of a given word / token
VSCode Custom Hotkeys
Ctrl + Alt + X=> Open the terminal, or most recent terminal, in the editor area, and pin it1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{ "_description": "View or create terminal in editor area", "_extension": "ryuta46.multi-command", "key": "ctrl+alt+x", "when": "!terminalFocus", "command": "extension.multiCommand.execute", "args": { "sequence": [ "workbench.action.terminal.focus", "workbench.action.terminal.moveToEditor", "workbench.action.pinEditor" ] } }, { "_description": "Switch view from terminal to recent file", "_extension": "ryuta46.multi-command", "key": "ctrl+alt+x", "when": "terminalFocus", "command": "workbench.action.navigateBack" }
Miscellaneous
Right Click and 'Find All References' or 'Go To References'=> shows all uses of a given word / tokenRight Click and 'Change All Occurences'=> allows you to change all uses of a given word / token
Google Chrome
Ctrl + W=> Close current tabCtrl + T=> Open new tabCtrl + N=> Open new windowCtrl + P=> Print current pageCtrl + Shift + N=> Open new incognito windowCtrl + Shift + T=> Reopen recently closed tabCtrl + Shift + B=> Toggle the bookmarks bar
Template
Win +Ctrl +Alt +Shift +Win + Ctrl +Win + Alt +Win + Shift +Ctrl + Alt +Ctrl + Shift +Alt + Shift +Win + Ctrl + Alt +Win + Ctrl + Shift +Win + Alt + Shift +Ctrl + Alt + Shift +Win + Ctrl + Alt + Shift +
This post is licensed under CC BY 4.0 by the author.