Fixed
- Obsidian commands (Tab/indent, formatting toggles) only affect cursor line in visual-line mode — when vim didn't handle a key in visual-line mode, the event propagated to Obsidian with a cursor-only CM6 selection. Obsidian's commands (
editor:indent-list,editor:toggle-bold, etc.) only saw one line instead of the full visual selection. Fixed by temporarily expanding the CM6 selection to the full linewise range before the event propagates, then restoring cursor-only via microtask after Obsidian's command executes. (#41)- Fork:
handleKeyinindex.tsnow expands CM6 selection on unhandled keys during visual-line mode and restores cursor-only viaPromise.resolve().then()
- Fork:
Full Changelog: 0.30.0...0.31.0