⌨ Keyboard Shortcut Reference

VS Code Β· Chrome Β· Mac β€” Search and filter 150+ shortcuts

What is Keyboard Shortcuts Reference?

Keyboard Shortcuts Reference is a searchable index of keyboard shortcuts for popular developer tools, applications, and operating systems. Browse shortcuts for VS Code, Chrome DevTools, Terminal/Bash, macOS, Windows, Vim/Neovim, Git, and more. Filter by application, search by action (e.g., 'find all', 'rename', 'format'), and copy shortcuts directly.

Mastering keyboard shortcuts is one of the highest-ROI productivity investments for developers. Research suggests keyboard-proficient users complete common tasks 2-4x faster than mouse-dependent users. The most universally valuable shortcuts are those for your primary editor (VS Code: Cmd/Ctrl+Shift+P for command palette, Cmd/Ctrl+P for file quick-open, Cmd/Ctrl+D for multi-cursor), browser DevTools (F12, Cmd+Shift+C for element picker, Cmd+Shift+J for console), and terminal (Ctrl+R for history search, Ctrl+A/E for line start/end).

Cross-platform considerations: macOS uses ⌘ Command where Windows/Linux use Ctrl for most shortcuts. Some shortcuts differ completely: macOS ⌘+Space (Spotlight) vs Windows (Windows key). VS Code normalizes this β€” most VS Code shortcuts work the same on all platforms with ⌘ on Mac and Ctrl on Windows. Terminal emulators (iTerm2, Windows Terminal, Hyper) add their own shortcuts on top of shell shortcuts.

How to Use

  1. Select the application from the category menu (VS Code, Chrome, macOS, etc.).
  2. Search by action (e.g., 'split editor', 'delete line') to find the shortcut.
  3. Use the OS toggle (Mac / Windows / Linux) to see platform-specific shortcuts.
  4. Click any shortcut row to copy it to the clipboard.
  5. Mark shortcuts as 'learned' to track your keyboard shortcut progress.

Examples

VS Code: format document

Result: Mac: βŒ₯⇧F / Windows: Alt+Shift+F / Linux: Ctrl+Shift+I

Chrome DevTools: open console

Result: Mac: ⌘βŒ₯J / Windows: Ctrl+Shift+J

Terminal: reverse search history

Result: Ctrl+R β†’ type to search β†’ Enter to run, Ctrl+R again to cycle matches

Frequently Asked Questions

What are the most important VS Code keyboard shortcuts?

Must-know VS Code shortcuts: Cmd/Ctrl+P β€” Quick open file (fuzzy search). Cmd/Ctrl+Shift+P β€” Command palette (run any command). Cmd/Ctrl+Shift+F β€” Search across all files. Cmd/Ctrl+D β€” Add selection to next find match (multi-cursor). Alt+Up/Down β€” Move line up/down. Cmd/Ctrl+/ β€” Toggle line comment. Cmd/Ctrl+B β€” Toggle sidebar. Cmd/Ctrl+J β€” Toggle terminal. F12 β€” Go to definition. Cmd/Ctrl+K Z β€” Zen mode. Cmd/Ctrl+Shift+K β€” Delete line. F2 β€” Rename symbol. These 15 shortcuts cover 80% of daily editing tasks.

How do I customize keyboard shortcuts in VS Code?

In VS Code: Cmd/Ctrl+K Cmd/Ctrl+S opens the Keyboard Shortcuts editor. Search for a command and click the edit icon to reassign. Or edit keybindings.json directly (Cmd/Ctrl+Shift+P β†’ 'Open Keyboard Shortcuts JSON'). Format: [{key: 'ctrl+shift+d', command: 'editor.action.duplicateSelection'}]. Useful: assign Cmd+Enter to 'editor.action.insertLineAfter' to insert a line below without moving to the end of the current line. The when clause allows context-sensitive shortcuts (only in terminal, only when editor is focused).

What are the most useful Chrome DevTools shortcuts?

Essential Chrome DevTools shortcuts: F12 / Cmd+Opt+I β€” Open DevTools. Cmd+Shift+C β€” Inspect element (click to select). Cmd+Opt+J β€” Open console. Ctrl+L β€” Clear console. Cmd+Shift+P β€” Command menu (like VS Code's command palette). Ctrl+` β€” Toggle console in Elements panel. Cmd+[ / Cmd+] β€” Navigate between panels. F8 β€” Resume (debugger). F10 β€” Step over. F11 β€” Step into. Shift+F11 β€” Step out. Cmd+Shift+M β€” Toggle device toolbar (responsive mode). Cmd+R β€” Hard reload, Cmd+Shift+R β€” Hard reload + clear cache.

What are essential terminal keyboard shortcuts?

Universal terminal shortcuts (bash/zsh): Ctrl+R β€” Reverse search command history (type to filter). Ctrl+A β€” Move cursor to beginning of line. Ctrl+E β€” Move cursor to end of line. Ctrl+W β€” Delete word before cursor. Ctrl+K β€” Delete from cursor to end of line. Ctrl+U β€” Delete entire line. Ctrl+C β€” Cancel current command. Ctrl+L β€” Clear screen. Ctrl+D β€” Exit/logout. Alt+. (dot) β€” Insert last argument of previous command. !! β€” Repeat last command. !$ β€” Last argument of last command. Tab β€” Autocomplete. Ctrl+Z β€” Suspend process (use 'fg' to resume).

What keyboard shortcuts exist for navigating between apps?

macOS: Cmd+Tab β€” switch between apps. Cmd+` β€” switch between windows of the same app. Cmd+Space β€” Spotlight search. Ctrl+Up (Mission Control) β€” see all spaces. Ctrl+Left/Right β€” switch spaces. Windows: Alt+Tab β€” switch apps. Win+Tab β€” Task View. Win+number β€” open/focus app pinned to taskbar. Win+D β€” show desktop. Win+E β€” File Explorer. Win+V β€” Clipboard history. Virtual desktops: Win+Ctrl+D (new), Win+Ctrl+Left/Right (switch), Win+Ctrl+F4 (close). Linux (GNOME): Super key for Activities. Super+Page Up/Down for workspaces.

Related Tools