Master Keyboard Shortcuts: Edit Text 3X Faster Without Touching Your Mouse
If you watch someone who's really good at editing code or formatting documents, you'll notice something: their hands stay on the keyboard. No mouse fumbling. No menu diving. Just smooth, fast edits that seem effortless.
It's all keyboard shortcuts. This guide covers the ones that actually matter, whether you're writing code, putting together documents, or wrangling data.
The basics: shortcuts that work everywhere
These work in nearly every app on Windows and Mac:
| Action | Windows | Mac | Time Saved |
|---|---|---|---|
| Copy | Ctrl+C | Cmd+C | 1-2 sec/use |
| Paste | Ctrl+V | Cmd+V | 1-2 sec/use |
| Cut | Ctrl+X | Cmd+X | 1-2 sec/use |
| Undo | Ctrl+Z | Cmd+Z | 2-3 sec/use |
| Redo | Ctrl+Y | Cmd+Shift+Z | 2-3 sec/use |
| Select All | Ctrl+A | Cmd+A | 3-5 sec/use |
| Find | Ctrl+F | Cmd+F | 5-10 sec/use |
| Find & Replace | Ctrl+H | Cmd+Option+F | 5-10 sec/use |
| Save | Ctrl+S | Cmd+S | 1-2 sec/use |
Worth noting: If you use these shortcuts 50 times a day, that adds up to 5-10 minutes saved daily, or roughly 20-40 hours a year.
Text selection: the skill most people skip
Dragging your mouse across text is painfully slow once you know the alternative. Here's how to select text with the keyboard instead:
| Selection | Windows | Mac |
|---|---|---|
| Select character by character | Shift+Arrow | Shift+Arrow |
| Select word by word | Ctrl+Shift+Arrow | Option+Shift+Arrow |
| Select to start of line | Shift+Home | Cmd+Shift+Left |
| Select to end of line | Shift+End | Cmd+Shift+Right |
| Select entire line | Ctrl+L (VS Code) | Cmd+L (VS Code) |
| Select to document start | Ctrl+Shift+Home | Cmd+Shift+Up |
| Select to document end | Ctrl+Shift+End | Cmd+Shift+Down |
Faster navigation: stop arrow-keying one character at a time
Holding down an arrow key to crawl through text is a waste of time. These shortcuts let you jump around instead:
| Navigation | Windows | Mac |
|---|---|---|
| Move word by word | Ctrl+Arrow | Option+Arrow |
| Jump to start of line | Home | Cmd+Left |
| Jump to end of line | End | Cmd+Right |
| Jump to document start | Ctrl+Home | Cmd+Up |
| Jump to document end | Ctrl+End | Cmd+Down |
| Page up/down | Page Up/Down | Fn+Up/Down |
Multi-cursor and bulk editing
This is where things get good. If you're editing repeated patterns, these tricks can turn minutes of tedious work into seconds:
Multi-cursor editing (VS Code, Sublime, Atom)
| Action | Windows | Mac | Use Case |
|---|---|---|---|
| Add cursor | Alt+Click | Option+Click | Edit multiple spots at once |
| Add cursor above/below | Ctrl+Alt+Up/Down | Cmd+Option+Up/Down | Column editing |
| Select next occurrence | Ctrl+D | Cmd+D | Rename variables |
| Select all occurrences | Ctrl+Shift+L | Cmd+Shift+L | Bulk rename |
Example: renaming a variable with multi-cursor
The problem: You need to change 20 instances of userName to username
Find and replace works, but it might catch things you didn't intend to change.
With multi-cursor instead: 1. Select "userName" 2. Hit Ctrl+D to grab each occurrence (or Ctrl+Shift+L for all of them) 3. Type "username" 4. Done. Every instance updates at once. That's maybe 10 seconds vs. 2-3 minutes of manual editing.
Line manipulation shortcuts
| Action | Windows (VS Code) | Mac (VS Code) |
|---|---|---|
| Move line up/down | Alt+Up/Down | Option+Up/Down |
| Copy line up/down | Shift+Alt+Up/Down | Shift+Option+Up/Down |
| Delete line | Ctrl+Shift+K | Cmd+Shift+K |
| Insert line below | Ctrl+Enter | Cmd+Enter |
| Insert line above | Ctrl+Shift+Enter | Cmd+Shift+Enter |
| Indent/outdent line | Tab / Shift+Tab | Tab / Shift+Tab |
Text formatting without the mouse
These work in Word, Google Docs, and most rich text editors:
| Format | Windows | Mac |
|---|---|---|
| Bold | Ctrl+B | Cmd+B |
| Italic | Ctrl+I | Cmd+I |
| Underline | Ctrl+U | Cmd+U |
| Strikethrough | Alt+Shift+5 | Cmd+Shift+X |
| Increase font size | Ctrl+Shift+> | Cmd+Shift+> |
| Decrease font size | Ctrl+Shift+< | Cmd+Shift+< |
| Align left | Ctrl+L | Cmd+L |
| Align center | Ctrl+E | Cmd+E |
| Align right | Ctrl+R | Cmd+R |
App-specific shortcuts worth knowing
Google Docs / Microsoft Word
Ctrl+K (Cmd+K) Insert link Ctrl+Shift+C Copy formatting Ctrl+Shift+V Paste formatting Ctrl+Alt+M Insert comment Ctrl+Alt+1/2/3 Apply heading styles Ctrl+\ Clear formatting
Excel / Google Sheets
Ctrl+Space Select entire column Shift+Space Select entire row Ctrl+Shift+L Toggle filters Ctrl+D Fill down Ctrl+R Fill right Ctrl+1 Format cells dialog F2 Edit cell
VS Code / code editors
Ctrl+P (Cmd+P) Quick file open Ctrl+Shift+P Command palette Ctrl+/ Toggle comment Ctrl+Space Trigger autocomplete F2 Rename symbol Alt+Z Toggle word wrap Ctrl+Shift+[ Fold code block Ctrl+Shift+] Unfold code block
A practical plan for learning these
Week by week
Week 1: The essentials
- Get comfortable with: Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+Z, Ctrl+S
- Every time you reach for the mouse to copy or paste, catch yourself and use the shortcut
Week 2: Text selection
- Add: Ctrl+A, Shift+Arrow, Ctrl+Shift+Arrow
- Try selecting text without touching the mouse at all
Week 3: Navigation
- Add: Ctrl+Arrow, Home, End, Ctrl+Home, Ctrl+End
- Use these instead of clicking to place your cursor
Week 4: The fancy stuff
- Add: Multi-cursor, Ctrl+D, Ctrl+H, Ctrl+F
- Pick 2-3 shortcuts specific to whatever app you use most
Free tools for text processing
The awkward part is temporary
Shortcuts feel slower at first. You'll want to grab the mouse because that's what you're used to. Push through it for a week.
After about 7-10 days, your fingers start doing the work without you thinking about it. Give it a month and you genuinely won't remember how you got anything done before.
What you get out of it: hours back every week, less strain on your wrists, and editing that actually keeps up with your thinking.
For text tasks that don't have a shortcut, like bulk formatting or cleaning up data, try these: Remove Duplicate Lines and Sort Lines Alphabetically can save you a few minutes every time.
Try These Free Tools
Frequently Asked Questions
What are the most universal keyboard shortcuts that work across all applications?
Do keyboard shortcuts really make a significant difference in productivity?
How long does it take to memorize new keyboard shortcuts?
Are there keyboard shortcuts for text formatting without using the mouse?
Can I create my own custom keyboard shortcuts?
What if I work across multiple operating systems (Windows, Mac, Linux)?
Related Articles
About the Author
The WTools team builds and maintains 400+ free browser-based text and data processing tools. With backgrounds in software engineering, content strategy, and SEO, the team focuses on creating reliable, privacy-first utilities for developers, writers, and data professionals.
Learn More About WTools