Skip to content

Text Selection

Text selection is available in Timeline preview and full-screen reading. It gives keyboard-first copying for a current line, a visual range, or the full wrapped body.

Use text selection when you need to copy a quote, reference number, address, or full email body without leaving the terminal. Mouse-selection mode is also available when you prefer terminal-native selection.

AreaWhat it shows
Wrapped body linesThe preview/full-screen body after Herald wraps text to the current width.
Scroll offsetThe current top line in the preview body.
Visual selectionHighlighted range between selection start and end.
Pending line copyA one-key waiting state after the first y.
Mouse-selection modeTerminal mouse mode toggle that changes whether terminal-native selection is easier.
KeyContextPreconditionsResult
vTimeline preview/full-screenWrapped body lines are available.Toggles visual selection and starts at current scroll line.
j / downVisual modeVisual mode active.Extends selection downward.
k / upVisual modeVisual mode active.Shrinks or moves selection upward.
yVisual modeA range is selected.Copies selected wrapped lines and exits visual mode.
y then yPreview/full-screenBody lines exist and visual mode is not active.Copies the current visible line.
YPreview/full-screenBody lines exist.Copies the entire wrapped body.
mTimelineAny Timeline state.Toggles mouse-selection mode.
escVisual modeVisual mode active.Cancels visual mode.
  1. Open an email preview.
  2. Scroll to the first line.
  3. Press v.
  4. Use j/k to adjust the range.
  5. Press y.
  1. Open an email preview.
  2. Scroll until the desired line is at the current body offset.
  3. Press y.
  4. Press y again.
  1. Open an email preview or full-screen reader.
  2. Press Y.
  1. Press m.
  2. Use your terminal’s native mouse selection.
  3. Press m again to return Herald to its normal mouse mode.
StateWhat happens
No body loadedCopy keys have nothing to copy.
Visual modeNavigation changes the selected range instead of just scrolling.
Pending yyHerald waits for the second y; any other key clears the pending state.
Full-screenSame copy controls apply with more body lines visible.
Clipboard unavailableCopy command can fail if the operating system clipboard command is unavailable.

Text selection reads body text that is already displayed in Herald and writes selected text to the operating system clipboard. The clipboard may be visible to other local applications according to your OS security model.

If copying the wrong line, remember that yy copies the current scroll line, not necessarily the row your cursor highlighted earlier.

If selected text has unexpected wrapping, widen the terminal or use full-screen mode before copying.

If clipboard copy fails, verify the local clipboard command for your platform is installed and available.