mgmeyers / obsidian-kanban

Create markdown-backed Kanban boards in Obsidian.
https://publish.obsidian.md/kanban/
GNU General Public License v3.0
3.24k stars 191 forks source link

[Bug]: Vim mode editing kanban card does not write to file #1072

Open firstmover opened 2 hours ago

firstmover commented 2 hours ago

Describe the bug

What's happening: I use vim mode for all obsidian file editing. The new kanban will use vim mode when I try to edit a card. Making changes in vim mode on a card does not write to the underlying markdown file (so the change will not be saved).

When does it happen: when editing kanban card in vim mode.

Expected Behavior

When I type ':w' in vim command or try to save the file (for example, in macos CMD+S), the update to the card should be saved. (reflect in the markdown file).

Steps to reproduce

Install kanban and enable vim mode in obsidian. Create a kanban file. Create a new card. Edit this card in kanban view mode.

Relevant errors (if available)

No response

Operating system

macOS

firstmover commented 1 hour ago

I found that things work if I don't enter NORMAL mode in vim. For example, if I enter ESC and get into normal model. Whatever I edit will not be saved.