Espresso

Selection Actions

To make common tasks easier, Espresso offers several ways to quickly select chunks of text. They are in the Text ⟩ Select menu.

Text ⟩ Select ⟩ Word (control option W)

If your cursor is at the very beginning or very end of a word, you can easily select it by pressing shift option right or shift option left. However, if your cursor is in the middle of a word, control option W may be a quicker method to select the word (you can also use it if the cursor is at the beginning or end of a word if you like).

Text ⟩ Select ⟩ Line (shift command L)

Press shift command L to select the entire line (including any leading or trailing whitespace).

Text ⟩ Select ⟩ Line Contents (option command L)

Press option command L to select only the lines contents (everything except for the leading or trailing whitespace). This can also be a handy way to quickly position your cursor at the beginning of the line's contents; simply press option command L and then left.

Text ⟩ Select ⟩ Balance (command B)

The Balance action behaves differently depending on context:

You can press command B more than once to move upwards through larger and larger selections.

Text ⟩ Select ⟩ Balance Inward (option command B)

In general, this will behave inversely to the Balance action. So if you have a <p> tag selected, option command B will select its contents. However, because code blocks can have more than one child, Balance Inward will only move into the first child it finds.

Text ⟩ Select ⟩ Next Occurrence (option command E) and All Occurrences (control command E)

Next Occurrence adds to the selection the next place the selected text occurs; with nothing selected, it selects the word the cursor is in. All Occurrences selects every place at once. Either way you end up with several selections, and what you type is typed at all of them. See Multiple selections.

Text ⟩ Select ⟩ Add Insertion Point Above (control shift up) and Add Insertion Point Below (control shift down)

Add a cursor on the line above or below, at the same column, so that you can type on several lines at once.

Text ⟩ Select ⟩ Split into Lines (control command L)

Turns a selection that runs over several lines into a separate selection for each line.