Tech Reflect
  • Home
  • About This Site
  • Contact me
  • Search Icon
Editing text with Cocoa text shortcuts

Editing text with Cocoa text shortcuts

2017-03-07

In any user interface element that accepts text, there are a set of text editing keyboard shortcuts that work in almost every application. Most are not listed in menus or only in certain applications.

Here’s a great link that documents most of the shortcuts. Note that the document is missing a few newer ones and there are a few that have changed since it was published, but this is the best resource I’ve found.

Cocoa Text System

Here’s a subset of them that I find particularly useful.

Keyboard shortcutAction
⌥ ⌫Delete the previous word (if you make a typing mistake and it spans multiple words, this is a really quick way to delete what you just typed)
⌥⇡ or ⌥⇣Move cursor to beginning or end of paragraph
⌘⇡ or ⌘⇣Move cursor to beginning or end of document
⇧⇡ or ⇧⇣Select upwards/downwards one line
⌥⇧⇡ or ⌥⇧⇣Select upwards/downwards one paragraph
⌘⇧⇡ or ⌘⇧⇣Select upwards/downwards to beginning/end of document
⌃⇡ or ⌃⇣Scroll one page up or down (most keyboards don't have dedicated keys for this anymore)
⌃AMove to beginning of line (super useful in Terminal)
⌃EMove to end of line



macOS tips

Post navigation

NEXT
Click in Terminal window to move cursor
PREVIOUS
The last time I saw Steve Jobs
Comments are closed.

Get Monthly Updates

Recent Posts

  • Inserting random email sigs in Mail on iOS
  • Keep Instagram open to finish posting…
  • How I predicted the rise of Twitter, barely used it, and amassed 35,000 followers
  • Apple Books 2022, in pictures
  • Killing one bird with two-and-a-half stones in Mac OS X Mail

Categories

  • analog (1)
  • apple career (12)
  • apple inside (19)
  • apple stories (20)
  • bertrand serlet (3)
  • bugs (3)
  • essays (15)
  • geeky (21)
  • interviews (4)
  • iOS tips (4)
  • Mac OS X (7)
  • macOS tips (36)
  • personal (8)
  • predictions (1)
  • products (5)
  • prototypes (6)
  • scott forstall (7)
  • scripting (2)
  • siri (2)
  • steve jobs (16)
  • tim cook (1)
  • workplace (15)

Get Monthly Updates

About cricket


Me with Guiness the owl

25 years in tech. I like to write manifestos. I like to offer interesting tips. I like making fun of things. Everyone copes differently.

My Other Blogs

  • Free Range Parrots
  • Plucky Tree (personal)
© 2025   All Rights Reserved.