Skip to content

zcmd v0.0.283

Choose a tag to compare

@hazardland hazardland released this 28 Mar 22:37
· 41 commits to master since this release

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