History

Undo/redo with automatic change grouping.

Try this feature โ†’

Import

typescript
import { historyPlugin } from 'halka/plugins/history';

Usage

  • Add historyPlugin to your plugins array โ€” undo/redo work automatically
  • Changes are grouped so rapid typing produces one undo step

Commands

CommandDescription
history.undoUndo the last change
history.redoRedo the last undone change

Shortcuts

ShortcutAction
Mod+ZUndo
Mod+Shift+Z / Mod+YRedo

MIT ยท Halka Editor