ProductivityBeginner

Keyboard Shortcuts That Will Save You Hours Every Week

The highest-leverage keyboard shortcuts across the OS, browser, and editor — the ones worth actually memorizing, not an exhaustive list nobody retains.

DevFieldGuideJune 20, 2026 (updated July 22, 2026)6 min read
Share:

Most "keyboard shortcuts" lists are too long to actually memorize, so nothing sticks. Here's a shorter list, specifically the shortcuts with the best return on the effort of learning them.

Window and app management

ActionmacOSWindows
Switch between appsCmd+TabAlt+Tab
Switch between windows of the same app`Cmd+``Alt+Esc
Quick app launcherCmd+Space (Spotlight)Win key (Start search)
Snap window to half screenDrag to edge, or Rectangle/Magnet appWin+Left/Win+Right

The app-switcher shortcuts alone eliminate a huge amount of mouse-reaching over a normal working day — internalizing them is worth doing before anything else on this list.

Browser

ActionShortcut
New tabCmd/Ctrl+T
Reopen last closed tabCmd/Ctrl+Shift+T
Jump to a specific tab (1st-8th)Cmd/Ctrl+1 through 8
Focus the address barCmd/Ctrl+L
Find on pageCmd/Ctrl+F

Reopen last closed tab is the one people don't know exists and wish they'd learned years earlier — closed the wrong tab? One shortcut, not a scramble through browser history.

Text editing (works almost everywhere, not just code editors)

ActionmacOSWindows/Linux
Jump to start/end of lineCmd+Left/RightHome/End
Jump word by wordOption+Left/RightCtrl+Left/Right
Delete word backwardOption+DeleteCtrl+Backspace
Select to start/end of lineCmd+Shift+Left/RightShift+Home/End

These work in nearly every text field on the system — browser address bars, chat apps, code editors — because they're OS-level text editing conventions, not app-specific features. Learn them once, use them everywhere.

Code editor (VS Code, but similar across most editors)

ActionShortcut
Command paletteCmd/Ctrl+Shift+P
Quick file openCmd/Ctrl+P
Multi-cursor: add cursor at next matchCmd/Ctrl+D
Go to lineCmd/Ctrl+G
Toggle terminalCmd/Ctrl+`

Multi-cursor (Cmd/Ctrl+D) is the one with the highest "wish I'd learned this sooner" factor — select a word, hit it repeatedly to select the next occurrences, and edit all of them simultaneously instead of a find-and-replace for simple renames.

Terminal / shell

ActionShortcut
Search command historyCtrl+R, then type to fuzzy-match a past command
Jump to start/end of lineCtrl+A / Ctrl+E
Clear from cursor to start/end of lineCtrl+U / Ctrl+K
Cancel current commandCtrl+C
Clear the screenCtrl+L

These are readline key bindings, not shell-specific — they work the same in bash, zsh, and most language REPLs (Python's, Node's) by default. Ctrl+R in particular replaces a huge amount of re-typing or scrolling back through terminal output to find a command you ran ten minutes ago.

Shortcuts are one piece of a bigger picture — see how to structure your developer day for the broader habits (protected focus blocks, batched communication) that these small efficiency wins actually compound with.

Git and version control

ActionShortcut / habit
Stage a hunk interactivelygit add -p — review and stage changes piece by piece, not the whole file at once
Amend the last commitgit commit --amend --no-edit
Jump to the previous branchgit checkout - — mirrors cd - for directories
Search commit history by contentgit log -S"searchTerm" — finds commits that added or removed a specific string, not just ones mentioning it in the message

git checkout - is the one worth calling out specifically — the same - shorthand that works for cd in most shells also works for git branches, letting you toggle back and forth between two branches without typing either name out.

Window/tab management inside a terminal multiplexer

For anyone running tmux or a similar multiplexer alongside the OS-level shortcuts above, a small set of pane/window bindings covers most day-to-day navigation:

Actiontmux default
Split pane verticallyCtrl+B then %
Split pane horizontallyCtrl+B then "
Switch paneCtrl+B then arrow key
Create a new windowCtrl+B then C
Detach session (keeps it running)Ctrl+B then D

Detaching (rather than closing) is the feature that makes a multiplexer worth learning in the first place — a long-running process in a detached tmux session survives closing the terminal window or even an SSH disconnect, and reattaching (tmux attach) picks up exactly where it left off.

Operating system search, beyond app launching

Spotlight (macOS) and Windows Search aren't just app launchers — both handle unit conversion, quick math, and file search directly from the same shortcut used to launch an app, which eliminates a surprising number of "open a calculator app" or "open Finder and search" detours:

ActionmacOS (Spotlight)Windows
Quick calculationCmd+Space, type 240*1.08Win, type 240*1.08
Unit conversionCmd+Space, type 10 km in milesWin, type 10 km to miles
Find a file by nameCmd+Space, type filenameWin, type filename

Treating the app-launcher shortcut as a general-purpose "ask the OS" shortcut, not just an app switcher, is the mental shift that makes it worth reaching for far more often than most people do.

The actual learning strategy

Trying to memorize twenty shortcuts at once doesn't work — pick two or three from this list you don't already use, and deliberately force yourself to use them (even when the mouse feels faster) for a week. Muscle memory forms from repetition under real use, not from reading a list once. Once those two are automatic, add two more.

Advertisement

Frequently Asked Questions

Advertisement
DevFieldGuide
DevFieldGuide

Editorial Team

Practical tutorials and developer tools, written and maintained by the DevFieldGuide team.

Enjoyed this article?

Get the next one straight to your inbox, along with the best of what we publish each week.

Related Articles

More in Productivity

View all