Undo and Redo

VimSheet maintains a full history of changes to your spreadsheet.

Undo Operations

The undo stack holds up to 1000 changes by default (configurable via max_undo in the config).

The undo stack tracks all types of modifications:

  • Cell value changes

  • Cell format changes

  • Row/column insertions and deletions

  • Paste operations

  • Fill range operations

  • Sort operations

  • Clear operations

Undo Branches

If you make a change after undoing, the redo history is cleared and a new branch starts.

A1 = 10      (state 1)
A1 = 20      (state 2)
A1 = 30      (state 3)
u            back to state 2
A1 = 25      (state 4 — redo branch discarded)