Skip to content

Releases

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:32
d497793

Added

  • Add single-line command and field editing (#3)

Full changelog

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 23:50
98f4c50

Vimlet 0.2 adds host-dispatched macros and improves repeat, Visual editing, and undo grouping.

Breaking changes

  • Extend the public Key, Operator, Action, and Motion enums. Update exhaustive matches to handle Key::Named, Operator::Comment, Action::SelectTarget, Action::SwapVisualHorizontal, and Motion::NextLineFirstNonBlank. Numeric discriminants of some fieldless variants have changed; do not persist enum casts as stable identifiers.
  • Group a complete macro invocation, including its count and nested calls, into one undo transaction. Hosts must honor Transaction::Begin, Continue, and End during macro playback as well as Insert/Replace sessions.

To upgrade, change the dependency to vimlet = "0.2", add the new enum match arms, and verify that one undo reverses an entire counted or nested macro invocation. Ropey consumers should retain features = ["ropey"].

Added

  • Dispatch recorded keys through host keymaps with bounded MacroPlayback and MacroBinding APIs.
  • Preserve host-specific named keys in macros and repeat accepted host edits within Insert sessions.
  • Expose an unnamed-register revision counter for clipboard synchronization, including repeated identical yanks.

Fixed

  • Stop macro playback when a vertical motion is blocked at a document boundary. (#1)
  • Resolve rectangular edits and characterwise Visual repeat in display cells, including short lines, tabs, and wide characters.
  • Match Neovim's Visual Enter and block-corner switching behavior.
  • Respect empty-line and end-of-file boundaries in change operators, and improve host-dispatched repeat and Visual puts.

Performance

  • Keep character edits local on long string-backed lines.

Full changelog