Fixed
- Linewise visual select highlighting not visible inside callouts — in visual-line mode (
V), callout content did not show the selection highlight in two scenarios: (1) When the callout was collapsed as a widget (cm-embed-block cm-callout), thecm-vim-linewise-widget-selectionbackground was overridden by the callout's own styling. (2) When the cursor was inside the callout (unfolded as.cm-lineelements withHyperMD-quoteclasses), Obsidian's.HyperMD-quote { background-color: var(--blockquote-background-color) }rule overrode thecm-vim-linewise-selectionbackground due to CSS cascade ordering. Fixed by increasing CSS specificity of the selection rules to (0,5,0) via.cm-editor .cm-scroller .cm-contentancestor chain, outranking Obsidian's (0,4,0) blockquote rule without using!important. (#103)- Plugin:
styles.css(increased specificity on.cm-vim-linewise-selectionand.cm-vim-linewise-widget-selectionrules)
- Plugin:
- Hint mode does not label the vault switcher — the vault switcher button (
.workspace-drawer-vault-switcher) in the left sidebar was not discoverable by hint mode because its CSS class was not in theOBSIDIAN_SELECTORSlist. The element is a plain<div>without button semantics (role="button",<button>tag, etc.), so it was not matched by any standard or Obsidian-specific selector. Fixed by adding.workspace-drawer-vault-switchertoOBSIDIAN_SELECTORS. (#104)- Plugin:
src/ui/hint-mode.ts(added.workspace-drawer-vault-switchertoOBSIDIAN_SELECTORS)
- Plugin:
- Animated cursor displaced rightward at end-of-line in visual mode — with animated cursor enabled, the block cursor rendered one character past the last visible character when visual selection reached the end of a line. Root cause:
refreshTarget()stepped back fromsel.headin forward selections to render the cursor on the last selected character, but thech !== '\n'guard prevented the step-back whensel.headpointed to a newline (end of line). Fixed by replacing the character-based guard with a line-boundary guard (pos > line.from), which correctly handles end-of-line, empty lines, and document end. (#105)- Plugin:
src/vim/animated-cursor/controller.ts(refreshTarget— line-boundary guard replacing character guard)
- Plugin:
Documentation
CHANGELOG.mdKNOWN_LIMITATIONS.md: Updated visual-line widget highlight section with callout CSS specificity fix; added vault switcher to hint mode target list; added animated cursor EoL visual mode fix
Full Changelog: 0.94.0...0.95.0