The not essential but important ones
Advanced
Select All occurrences
Another way of selecting multiple blocks of text with multiple cursors is Select All Occurrences
command, which selects all the other occurrences in the current file of the already selected text. In case no text is selected/clicked, the closest word to the current cursor is selected.
This command can be triggered by
- Ctrl + F2 on Linux or Windows
- CMD + F2 on Mac.
Additional Shortcuts
International Keyboard | Description | Mac | Windows |
---|---|---|---|
Add cursor to line ends | Adds cursors where to line ends | Shift + Option + I | Shift + ALT + I |
Cursor Undo | Undoes the last cursor movement | CMD + U | CTRL + U |
Expand selection | Expands the text selection | Shift+Option+ RightArrow | Shift+ALT+ RightArrow |
Shrink selection | Shrinks the text selection | Shift+Option+ LeftArrow | Shift+ALT+ LeftArrow |
Go to Bracket | Positions the cursor where the Bracket is | CMD + SHIFT + \ | CTRL + SHIFT + \ |
Go to Next Problem in Files (Error Warning Info) | F8 | F8 | |
Go to Previous Problem in Files (Error Warning Info) | Shift + Option + F8 | Shift + ALT + F8 | |
Insert Line Above | Inserts Line Above | CTRL+ SHIFT + Enter | CMD + SHIFT + Enter |
Replace with next Value | CTRL + SHIFT + . | CTRL + SHIFT + . | |
Replace with Previous Value | CTRL + SHIFT + , | CTRL + SHIFT + , | |
Toggle Tab Key Moves Focus | CTRL + M | CMD + M | |
Trim trailing White-space | CMD + K or CMD + X | CTRL + K or CTRL+ X | |
Show all occurrences of find match | CMD + Shift + L | CTRL + Shift + L | |
Show accessibility help | Opens informative popup | Option + F1 | ALT + F1 |
Show editor context menu | Shift + F10 | Shift + F10 |
Updated about 1 year ago