Skip to main content
The 2024 Developer Survey results are live! See the results
Added extra tips from Chris Johnsen
Source Link
fideli
  • 14.7k
  • 2
  • 36
  • 44

Yes. Let's assume you're in a document editor and you have a bunch of text you'd like to navigate. You can use the arrow keys ← ↑ → ↓ to move one character in either direction horizontally, or one line in either direction vertically.

To move to the beginning or end of a line, type ⌘← or ⌘→, respectively. ⌘↑ and ⌘↓ move to the beginning and end of the document. In areas where these shortcuts don't work, such as in the Terminal, use ⌃A and ⌃E instead (which can be used in most Cocoa text controls).

You can move one word left or right by using ⌥← or ⌥→, respectively. Likewise, ⌥↑ and ⌥↓ move to the beginning and end of a paragraph.

As Chris Johnsen points out in the comments, you can also use "other Emacs-like bindings (⌃F: →, ⌃B: ←, ⌃N: ↓, ⌃P: ↑, ⌃T: transpose (swap) characters)". Chris also mentions some interesting subtleties with soft-wrapped text, where "⌃A and ⌃E work on the whole line while ⌘← and ⌘→ work on the current portion of the display-wrapped line". Thanks For that.

Not sure if this is what your vague question was referring to, but you can definitely move the cursor using the keyboard almost anywhere in Mac OS X.

Yes. Let's assume you're in a document editor and you have a bunch of text you'd like to navigate. You can use the arrow keys ← ↑ → ↓ to move one character in either direction horizontally, or one line in either direction vertically.

To move to the beginning or end of a line, type ⌘← or ⌘→, respectively. ⌘↑ and ⌘↓ move to the beginning and end of the document. In areas where these shortcuts don't work, such as in the Terminal, use ⌃A and ⌃E instead.

You can move one word left or right by using ⌥← or ⌥→, respectively. Likewise, ⌥↑ and ⌥↓ move to the beginning and end of a paragraph.

Not sure if this is what your vague question was referring to, but you can definitely move the cursor using the keyboard almost anywhere in Mac OS X.

Yes. Let's assume you're in a document editor and you have a bunch of text you'd like to navigate. You can use the arrow keys ← ↑ → ↓ to move one character in either direction horizontally, or one line in either direction vertically.

To move to the beginning or end of a line, type ⌘← or ⌘→, respectively. ⌘↑ and ⌘↓ move to the beginning and end of the document. In areas where these shortcuts don't work, such as in the Terminal, use ⌃A and ⌃E instead (which can be used in most Cocoa text controls).

You can move one word left or right by using ⌥← or ⌥→, respectively. Likewise, ⌥↑ and ⌥↓ move to the beginning and end of a paragraph.

As Chris Johnsen points out in the comments, you can also use "other Emacs-like bindings (⌃F: →, ⌃B: ←, ⌃N: ↓, ⌃P: ↑, ⌃T: transpose (swap) characters)". Chris also mentions some interesting subtleties with soft-wrapped text, where "⌃A and ⌃E work on the whole line while ⌘← and ⌘→ work on the current portion of the display-wrapped line". Thanks For that.

Not sure if this is what your vague question was referring to, but you can definitely move the cursor using the keyboard almost anywhere in Mac OS X.

Source Link
fideli
  • 14.7k
  • 2
  • 36
  • 44

Yes. Let's assume you're in a document editor and you have a bunch of text you'd like to navigate. You can use the arrow keys ← ↑ → ↓ to move one character in either direction horizontally, or one line in either direction vertically.

To move to the beginning or end of a line, type ⌘← or ⌘→, respectively. ⌘↑ and ⌘↓ move to the beginning and end of the document. In areas where these shortcuts don't work, such as in the Terminal, use ⌃A and ⌃E instead.

You can move one word left or right by using ⌥← or ⌥→, respectively. Likewise, ⌥↑ and ⌥↓ move to the beginning and end of a paragraph.

Not sure if this is what your vague question was referring to, but you can definitely move the cursor using the keyboard almost anywhere in Mac OS X.