Skip to content

0.2.0 - Register replacement with gr

Choose a tag to compare

@xczs666 xczs666 released this 10 Nov 02:24

Add ReplaceWithRegister-style editing to Obsidian’s built-in Vim mode.

  • Use gr{motion}, griw, griq, grib, grr and visual gr.
  • Preserve copied text when replacing from unnamed, named or numbered Vim registers.
  • Support counts, atomic undo/redo and dot-repeat with current register contents.
  • Safely reject empty, clipboard, special and blockwise registers; clipboard support is outside this release.

Validation: 31 portable tests; 21 actual-engine tests each on Obsidian 1.15.0 and 1.14.5; 96 in-app checks across source and live-preview editors. GitHub CI passed on Node 22 and 24. Publication source, Git history and release files were checked for sensitive information.

Requires desktop Obsidian 1.14.5 or later, with built-in Vim bindings enabled. Install using the attached main.js and manifest.json, or update from Community plugins after the directory processes this release.