Skip to content

Type Editor


Type Editor / @type-editor/history / commands/redo

commands/redo

Variables

VariableDescription

redo

A command function that redoes the last undone change, if any.

This command will redo the most recently undone change in the editor's history and automatically scroll the selection into view after the redo operation.

Example

typescript
// In a keymap
keymap({
  "Mod-Shift-z": redo,
});