Repository navigation
zcmd v0.0.283
feat(edit): undo/redo with delta-based ops and paste batching
- Ctrl+Z / Ctrl+Y (or Ctrl+Shift+Z) for undo/redo
- Delta-based ops — no full-file snapshots, up to 500 ops
- Smart grouping: consecutive word chars merge; direction changes and line-boundary crossings break groups
- Paste arriving as keystrokes (Windows Terminal Ctrl+V) batched into one undo op
- Ctrl+D / Ctrl+Shift+K to delete current line
- Save-point tracking: modified flag cleared when undoing back to last save