The shortcuts worth actually memorizing, with Windows/Linux and Mac bindings side by side.
Alt+ClickOption+ClickAdd a new cursor at the clicked position.Ctrl+Alt+↓Cmd+Option+↓Add a cursor directly below the current line.Ctrl+DCmd+DSelect the next occurrence of the current word, adding a cursor each time.Alt+↑ / ↓Option+↑ / ↓Move the current line up or down.Shift+Alt+↓Shift+Option+↓Duplicate the current line below.Ctrl+/Cmd+/Toggle line comment for the current selection.Shift+Alt+FShift+Option+FFormat the entire document.Ctrl+Shift+KCmd+Shift+KDelete the current line.Ctrl+Shift+LCmd+Shift+LSelect all occurrences of the current selection at once.F2F2Rename the symbol under the cursor everywhere it's used.Ctrl+.Cmd+.Show quick fixes and refactoring suggestions.F12F12Go to the definition of the symbol under the cursor.Shift+F12Shift+F12Show all references to the symbol under the cursor.Ctrl+Shift+OCmd+Shift+OJump to a symbol (function, class) within the current file.Ctrl+TCmd+TSearch for a symbol across the entire project.Alt+F12Option+F12Peek a symbol's definition inline without leaving the current file.Ctrl+`Ctrl+`Toggle the integrated terminal.Ctrl+BCmd+BToggle the sidebar.Ctrl+\Cmd+\Split the editor into two panes.Ctrl+Shift+ECmd+Shift+EFocus the file explorer.Ctrl+Shift+FCmd+Shift+FSearch across all files in the project.Ctrl+Shift+XCmd+Shift+XOpen the Extensions panel.Ctrl+Shift+GCmd+Shift+GOpen the Source Control (Git) panel.Ctrl+K ZCmd+K ZEnter Zen Mode — hide all UI except the editor.Hold Alt (Option on Mac) and click each location to add a cursor there, then type normally to edit all of them at once. Ctrl+Alt+Down (Cmd+Option+Down on Mac) adds a cursor directly below the current line.
Press Ctrl+P (Cmd+P on Mac) and start typing the filename. VS Code's fuzzy search will match it even if you only type part of the name or skip some letters.
Click the variable and press F2, then type the new name and hit Enter. VS Code renames every reference to that symbol across the file (and project, for supported languages), not just plain text matches.