Eugene Zolotarenko Profile picture
Indie Maker ๐Ÿซก Growing https://t.co/AxXWrvJqr7 to $5M ARR

Nov 14, 2021, 14 tweets

๐Ÿš€๐Ÿš€๐Ÿš€ VS-Code tricks that will SKY-ROCKET your productivity! ๐Ÿคฏ๐Ÿคฏ๐Ÿคฏ

๐Ÿ‘‡ Thread ๐Ÿงต

Content:
1. Zen Mode
2. Create and Open a file that does not exist
3. Quickly Navigate to a file
4. Side by Side Markdown Editor and Preview
5. Switch Branches with one click
๐Ÿ‘‡

6. Edit the same word within the document.
7. Edit the same word within the entire project.
8. Manage multiple cursors
9. Copy and move lines of code without copying/pasting them.

1. Zen Mode

That's a distraction-free mode that helps you concentrate your attention on writing code!

Shortcut to activate it:
1. CTRL/CMD + K
2. Z

2. Create and Open a file that does not exist

If you declared a path to file but it does not exist yet, just use this shortcut:

CTRL/CMD+click on the File

And it will be created automatically!

3. Quickly Navigate to a file

Quickly navigate to a file with this shortcut:

CTRL/CMD + P

4. Side by Side Markdown Editor and Preview

Open synchronize preview of markdown file jus by clicking in icon in right top corner or with this shortcut:

1. CTRL/CMD + K
2. V

5. Switch Branches with one click

Easily switch between Git branches via the Status Bar.

6. Edit the same word within the document.

Follow the steps:
1. Select word which should be changed
2. CTRL/CMD + F
3. Click on the arrow in poped up modal
4. Type needed word
5. CTRL/CMD + Enter

And the word is changed!

7. Edit the same word within the entire project.

Follow the steps:
1. Select word which should be changed
2. CTRL/CMD + Shift + F
3. Click on the arrow in the left sidebar
4. Type needed word
5. CTRL/CMD + ALT/Option + Enter

And the word is changed!

8. (Part 1) Manage multiple cursors

You can add multiple cursors to your document and change as much stuff as you want at once!

There we have 3 ways of doing it:
1. Hold ALT/Option key and click to add a new cursor.

๐Ÿ‘‡

8. (Part 2) Manage multiple cursors

2. Add the first cursor, hold down Command+Alt and use the Up and/or Down arrows to add new cursors

3. (My favorite!) Highlight a word and select the next occurrence of that word by pressing CTRL/CMD + D

9. Copy and move lines of code without copying/pasting them.

1. Select needed lines of code
2. Hold ALT/Option (for moving)
Hold ALT/Option + Shift (for copying)
3. Move or Copy them with arrow keys โฌ†๏ธโฌ‡๏ธ

That's all folks! ๐Ÿ”ฅ๐Ÿงฏ

If you found this thread useful, please consider following @eugZolotarenko and retweeting the first tweet. ๐Ÿ“ข

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling