Open in TheBrain

Undo and Redo

Overview

TheBrain keeps an undo history of the edits you make to a brain — creating a thought, linking two thoughts, moving one under a new parent, forgetting or deleting, renaming, recoloring, saving a note, and so on. If you make a change you didn't mean to, Undo reverses it, and Redo puts it back.

Undoing and Redoing

Usually undo and redo happen immediately — there's no confirmation beforehand. Afterwards a brief notice names what was reversed (for example Undid Create Thought, or Redid Create Thought after a redo) and then fades on its own; on a phone it appears as a small strip under the toolbar — see Notifications. As usual, once you make a new edit after undoing, the redo history is cleared. When there's nothing to reverse, Undo is unavailable in the menu. The one time TheBrain asks first is when something the step would change has itself changed since — see When TheBrain Asks Before Undoing below.

Stepping Back Several Edits

When you've made several changes, Undo Multiple Actions (and Redo Multiple Actions) list your recent edits newest-first. Pick an action in the list to undo everything up to and including it in a single step.

The Main Menu with Edit open: Undo Forget "2024 Brand Guidelines", Undo Multiple Actions, Redo, Paste Thought "Launch Plans" and Select. Undo Multiple Actions is open, listing recent edits newest first, such as Undo Create Thought, Undo Delete Link Type, Undo Set Link Type and Undo Set Icon

What Can Be Undone

The history covers brain edits broadly — creating, renaming, forgetting, deleting, and reparenting thoughts; creating and removing links and changing their properties; setting types, tags, and colors; adding and removing attachments; saving notes; creating, changing, and deleting calendar events; and more.

Each undo and redo is also written into the thought's history as its own Undo or Redo entry naming the action, so on a shared brain collaborators can see that a change was reversed — see Thought History.

A deleted file attachment has one extra safety net on the desktop app: a copy also goes to your computer's trash, so it stays recoverable even after this undo history is gone — see Managing Attachments.

Undo here is a brain-edit history. Undo while you're typing in the note editor is the note editor's own text undo — it happens to share the shortcut Ctrl+Z (⌘Z on Mac) but is a separate history for the note's text.

When TheBrain Asks Before Undoing

Undo works by putting things back the way they were when the action was recorded. If one of the items involved has changed since — most often because a sync brought in a change made on another device or by another person, but also when something on this device changed it without going through undo, such as Cerebro, a bulk operation, or a file edited directly in the brain's folder on the desktop — TheBrain doesn't overwrite that change silently. It asks first.

The question is the title of the dialog: Undo Rename Thought?, or Undo 3 actions? when you're undoing several steps at once. Beneath it, each affected item says what changed and what proceeding will do about it:

Choose Undo Anyway (or Redo Anyway) to proceed with every step, or Cancel to leave everything as it is. With a multi-step undo it's all or nothing: either every action is undone, conflicts included, or none is.

If an Undo Fails

If a step can't be applied — a file locked by another program, say — TheBrain shows an Undo Failed (or Redo Failed) message with the reason, The change could not be applied: …, and the brain is left as it was.

Important Limits

  • Cerebro's Undo All and Redo All buttons go through the same check, so they too ask before overwriting a change that arrived since.
  • Undo/Redo is about edits; to retrace which thoughts you were looking at, see Back and Forward Navigation.

Related Topics