Fixed
- Textarea vim setting not visible in legacy settings UI — the "Vim keybindings in text areas" toggle was only added to the new
getSettingDefinitions()API (Obsidian 1.13+). Users on Obsidian <1.13 could not find or enable the setting. Added the toggle to the legacydisplay()method in the "Vim features" section. (#69)- Plugin:
src/settings.ts(addedenableVimTextareastoggle to legacy settings UI)
- Plugin:
- Textarea vim overlay grows with content instead of fixed size — the CM6 editor overlay expanded vertically as content grew, unlike the original textarea which had a fixed height with scrollbar. Changed the wrapper to use
height+maxHeight(copied from the original textarea's computed size) and addedoverflow: autoto the CM6 scroller, so content scrolls within the original textarea's dimensions. (#69)- Plugin:
src/vim/textarea-vim-manager.ts(height+maxHeightinstead ofminHeight),styles.css(overflow: autoon.cm-scroller)
- Plugin:
- Textarea vim overlay text larger than original — the CM6 editor used Obsidian's default editor font size instead of inheriting from the original textarea. Added
font-size: inheritto.vim-motions-textarea-overlay .cm-editorso the overlay matches the original element's font size. (#69)- Plugin:
styles.css(font-size: inheriton.cm-editor)
- Plugin:
- Removed
!importantfrom textarea hidden styles — the.vim-motions-textarea-hiddenCSS class used!importanton all four properties, which is not allowed by the project's CSS conventions.- Plugin:
styles.css
- Plugin:
Full Changelog: 0.60.0...0.60.1