Turning Learners Into Developers
Codekilla
CODEKILLA
Productivity 8 min

Computer Shortcut Keys List

Read on to explore computer shortcut keys list — a beginner-friendly walkthrough by Codekilla.

Rahul Chaudhary Thu Apr 30 2026
What is Computer Shortcut Keys?

Computer shortcut keys are keyboard combinations that let you execute commands instantly without touching your mouse. Instead of clicking through menus or right-clicking to find options, you press two or three keys simultaneously to perform actions like copying text, switching windows, or saving files. Think of them as power-user commands that turn your keyboard into a control panel.

These combinations typically involve modifier keys (Ctrl, Alt, Shift, Command) paired with letter, number, or function keys. When you master even a dozen shortcuts, you'll notice your workflow accelerating—less hand movement, fewer interruptions, and a smoother rhythm when working with documents, browsers, or code editors.

Why It Matters
  • Speed boost: Cutting 2-3 seconds per action adds up to hours saved weekly when you're constantly copying, pasting, or switching tabs.
  • Reduced strain: Keeping your hands on the keyboard minimises repetitive mouse movements that cause wrist fatigue.
  • Professional efficiency: In code reviews, presentations, or data entry, shortcuts make you look fluent and confident.
  • Universal skills: Most shortcuts work across Windows, macOS, and Linux with minor variations, so you carry this knowledge everywhere.
  • Multitasking power: Instantly jump between applications, virtual desktops, or browser tabs without breaking focus.
Essential Universal Shortcuts

Every operating system shares a core set of shortcuts rooted in early GUI design. These are your bread-and-butter commands that work in 90% of applications.

Shortcut (Windows/Linux)Shortcut (macOS)Action
Ctrl + CCmd + CCopy selected item
Ctrl + VCmd + VPaste from clipboard
Ctrl + XCmd + XCut selected item
Ctrl + ZCmd + ZUndo last action
Ctrl + Y / Ctrl + Shift + ZCmd + Shift + ZRedo last undone action
Ctrl + ACmd + ASelect all content
Ctrl + SCmd + SSave current file
Ctrl + FCmd + FFind text in document

Here's how you'd use these in a typical text-editing scenario:

python
# Imagine editing a Python script
def calculate_total(prices):
    # You spot a typo in 'prices' and want to rename it everywhere
    # 1. Ctrl+F → search for 'prices'
    # 2. Highlight one instance → Ctrl+C
    # 3. Select next instance → Ctrl+V to replace
    # 4. Made a mistake? → Ctrl+Z immediately
    total = sum(prices)
    return total

Practice these until they become muscle memory. They're the foundation every other shortcut builds on.

Window and Application Management

When you're juggling five browser tabs, a terminal, Slack, and your IDE, window shortcuts become lifesavers. They let you navigate without hunting for the right window in your taskbar.

NeedWindowsmacOSLinux (GNOME)
Switch appsAlt + TabCmd + TabAlt + Tab
Close windowAlt + F4Cmd + QAlt + F4
New windowCtrl + NCmd + NCtrl + N
Close tabCtrl + WCmd + WCtrl + W
Reopen closed tabCtrl + Shift + TCmd + Shift + TCtrl + Shift + T
Minimize windowWin + DownCmd + MSuper + H
Maximize windowWin + UpCtrl + Cmd + FSuper + Up

In practice, switching contexts looks like this:

bash
# You're running a local server in terminal
npm run dev
# Output shows an error in browser console
# Alt+Tab → jump to browser
# Ctrl+Shift+J → open DevTools (Chrome shortcut)
# Read error, fix code
# Alt+Tab → back to terminal
# Ctrl+C → stop server
# npm run dev → restart

The key is keeping your hands centred on the keyboard. Every mouse grab breaks your flow.

Browser-Specific Shortcuts

Browsers are where most people spend half their computing time. These shortcuts turn tab chaos into organised navigation.

ActionShortcut (Cross-browser)
New tabCtrl/Cmd + T
Close current tabCtrl/Cmd + W
Reopen last closed tabCtrl/Cmd + Shift + T
Switch to next tabCtrl/Cmd + Tab
Switch to previous tabCtrl/Cmd + Shift + Tab
Jump to tab 1-8Ctrl/Cmd + 1-8
Jump to last tabCtrl/Cmd + 9
Open link in new tabCtrl/Cmd + Click
Refresh pageCtrl/Cmd + R
Hard refresh (clear cache)Ctrl/Cmd + Shift + R
Focus address barCtrl/Cmd + L
Open downloadsCtrl/Cmd + J
View page sourceCtrl/Cmd + U

Here's a research workflow using these:

javascript
// You're debugging a JavaScript issue across Stack Overflow, MDN, and GitHub
// Ctrl+T → new tab for Stack Overflow search
// Type query → Ctrl+Enter → search
// Ctrl+Click on promising link → opens in background tab
// Ctrl+Tab → cycle through results
// Found solution? Ctrl+L → copy URL
// Ctrl+W → close tab
// Ctrl+1 → back to your code editor tab

console.log("Issue resolved using shortcuts!");

Chrome DevTools also has shortcuts: Ctrl+Shift+J (console), Ctrl+Shift+C (element inspector), F12 (toggle DevTools).

Text Editing Superpowers

Beyond copy-paste, advanced text shortcuts let you manipulate words, lines, and paragraphs without precision mouse clicking.

NeedWindows/LinuxmacOS
Move cursor word-by-wordCtrl + ArrowOption + Arrow
Delete word before cursorCtrl + BackspaceOption + Delete
Delete word after cursorCtrl + DeleteOption + Fn + Delete
Select word-by-wordCtrl + Shift + ArrowOption + Shift + Arrow
Jump to start of lineHomeCmd + Left
Jump to end of lineEndCmd + Right
Select to start of lineShift + HomeCmd + Shift + Left
Select to end of lineShift + EndCmd + Shift + Right

In a code editor like VS Code, these combine with IDE-specific shortcuts:

python
def process_data(user_input, configuration_settings):
    # Cursor at end of 'configuration_settings'
    # Ctrl+Backspace → deletes 'settings'
    # Ctrl+Backspace → deletes 'configuration_'
    # Type 'config' → clean rename
    
    # Ctrl+D (VS Code) → select next occurrence of 'config'
    # Keep pressing Ctrl+D → multi-cursor editing
    validated_data = validate(user_input, config)
    return process(validated_data)

Learning these makes refactoring code or editing documents 10× faster than clicking and dragging.

Operating System Power Shortcuts

These are OS-level commands that control system functions, screenshots, and search.

Windows:

  • Win + D → Show/hide desktop
  • Win + E → Open File Explorer
  • Win + L → Lock screen
  • Win + S → Open search
  • Win + Shift + S → Screenshot tool (Snip & Sketch)
  • Win + V → Clipboard history
  • Win + . (period) → Emoji picker

macOS:

  • Cmd + Space → Spotlight search
  • Cmd + Shift + 3 → Screenshot entire screen
  • Cmd + Shift + 4 → Screenshot selection
  • Cmd + Shift + 5 → Screenshot options menu
  • Cmd + Option + Esc → Force quit menu
  • Ctrl + Cmd + Q → Lock screen

Linux (GNOME/KDE):

  • Super + A → Show applications
  • Super + L → Lock screen
  • Print Screen → Screenshot
  • Shift + Print Screen → Screenshot area

Example workflow for quick documentation:

markdown
<!-- You're writing a tutorial and need screenshots -->

1. Win+Shift+S → capture code snippet
2. Ctrl+V → paste into document
3. Win+V → access clipboard history for previous screenshot
4. Ctrl+Shift+V → paste without formatting

**Result:** Clean, fast screenshot insertion.
Quick Cheat Sheet
NeedReach for
Copy/paste/cutCtrl+C / Ctrl+V / Ctrl+X (Cmd on Mac)
Undo mistakeCtrl+Z (Cmd+Z on Mac)
Save workCtrl+S (Cmd+S) religiously
Find textCtrl+F (Cmd+F)
Switch appsAlt+Tab (Cmd+Tab)
Close tab/windowCtrl+W / Alt+F4 (Cmd+W / Cmd+Q)
Open new tabCtrl+T (Cmd+T)
Reopen closed tabCtrl+Shift+T (magic for accidents)
Select allCtrl+A (Cmd+A)
ScreenshotWin+Shift+S (Cmd+Shift+4)
Lock screenWin+L (Ctrl+Cmd+Q)
Jump to address barCtrl+L (Cmd+L)
Common Mistakes
  • Holding keys too long: You only need a quick tap—holding Ctrl+C for three seconds won't copy "harder." Press and release immediately.

  • Wrong modifier on macOS: Windows users switching to Mac instinctively reach for Ctrl when they need Cmd. The Command key replaces Ctrl for most shortcuts.

  • Forgetting application context: Ctrl+W closes a browser tab but might close an entire document in some apps. Know your environment.

  • Ignoring clipboard managers: Windows 10+ has Win+V for clipboard history, but many users never enable it. You're missing 25 recent copies.

  • Not customising shortcuts: VS Code, IntelliJ, Sublime—all let you rebind keys. Don't suffer with defaults that feel awkward.

  • Mixing up Ctrl+Y and Ctrl+Shift+Z: Both redo on Windows, but some apps only recognise one. Test your tools.

💡 Think Like a Programmer: Your keyboard is an interface—optimise it. Every shortcut you internalise is one less context switch, one less second wasted hunting for a menu. Treat learning shortcuts like learning syntax: slow at first, automatic later.

// was this useful?
Did this article answer your question?
// Productivity · published by Codekilla
// related articles

Keep Reading