5 shortcut keys that help you code faster🏃♀️💨
What I think I look like when I am using them:
Please note that I am using a Windows keyboard. Other than that, the following shortcuts are not specific to any IDE or editor.
🏃♀️💨 Move the cursor one word at a time
- Ctrl + arrow keys to move your cursor one word at a time.
- Hold down the Shift key to highlight.
- deleting or cutting the whole word (highlight and backspace/Ctrl+X).
- fixing the first or last character of a word.
🏃♀️💨 The whole line at a time
- To move to the end/start of your line, use Fn + arrow keys.
- Same thing. Hold down the Shift key to highlight the content.
Similar to the first shortcut, you can use this for deleting/cutting the whole line, or fix the first/last character of the line.
🏃♀️💨 Switching between tabs
- Ctrl + Tab to switch between tabs.
- Ctrl + number to switch to a specific tab, for example, Ctrl + 3 will bring you to the third tab of your current browser.
🏃♀️💨 Switching between windows
If you prefer to open all the pages on different browsers, use Alt + Tab to switch between windows.
It doesn’t come with the + number feature like Ctrl + Tab but you can Windows + Tab to display all the windows at once.
🏃♀️💨 Oops I close my windows/tabs
Ctrl + Shift + T to the rescue! It allows you to re-open the last tab you close in Chrome.
🏃♀️💨 Other useful shortcuts
- Windows + Shift + S to take a snapshot of your screen.
- The classic Ctrl + A to select all, Ctrl + Z to undo, Ctrl + X to cut, Ctrl + C to copy and Ctrl + V to paste.