Cheatsheets & Reference
Keyboard Shortcuts
Searchable cheatsheets for VS Code, Vim and Terminal shortcuts.
Cmd + Shift + P Cmd + P Ctrl + ` Cmd + B Option + Shift + Down Option + Up/Down Option + Click Cmd + D Option + Shift + F Cmd + Option + [ / ] Cmd + T Cmd + \ VS Code, Vim & Terminal Keyboard Shortcuts Reference
Mastering keyboard shortcuts is one of the most effective ways to boost programming speed and efficiency. This keyboard shortcuts reference features organized shortcuts for Visual Studio Code, Vim / Neovim, and Terminal / Bash. Switch easily between macOS and Windows/Linux shortcut layouts with a single click. Use the filter search bar to instantly find key combinations for file navigation, multi-cursor editing, code formatting, and buffer manipulation.
Frequently Asked Questions
How do I use multi-cursor editing in VS Code?
Press Cmd + D (Mac) or Ctrl + D (Windows) to select the next matching word. Alternatively, hold Option / Alt and click anywhere in the editor to place multiple cursors manually.
What is the quickest way to open files in VS Code?
Press Cmd + P (Mac) or Ctrl + P (Windows) to bring up Quick Open, then start typing the filename. Press Enter to navigate to the file immediately.
How do I search bash command history in terminal?
Press Ctrl + R and type a keyword. Keep pressing Ctrl + R to cycle backward through matching historical commands. Press Enter to execute or Right-Arrow to edit.