github saberzero1/motions 0.75.1

latest releases: 0.147.0, 0.146.0, 0.145.0...
one month ago

Fixed

  • Animated cursor stays as block in operator-pending mode — pressing d, c, y, or other operators without a motion kept the cursor as a block instead of switching to the configured operator-pending shape (default: underline). Two issues: (1) resolveVimMode() only checked vim.status (set for prompt-based pending like surround) but not vim.inputState.operator (set for standard operators like d/c/y). (2) Operator-pending is a transient state that doesn't trigger CM6 transactions, so the ViewPlugin's update() never fired. Fixed by checking inputState.operator in resolveVimMode() and polling the cursor shape every rAF frame in tick() to detect changes that bypass CM6's transaction system. (#78)
    • Plugin: src/vim/animated-cursor/controller.ts (resolveVimMode checks inputState.operator, per-frame shape polling in tick)

Documentation

  • CHANGELOG.md
  • KNOWN_LIMITATIONS.md: Removed operator-pending detection from nice-to-have (implemented)

Full Changelog: 0.75.0...0.75.1

Don't miss a new motions release

NewReleases is sending notifications on new releases.