Not possible to clock-in on a caption in unsaved buffer / dotoo file
belugame opened this issue · 3 comments
belugame commented
I'm on NVIM v0.4.3
- I open an unsaved buffer with dotoo extension e.g.
nvim foo.dotoo
- Add "
* my caption
" as first line - Press
gI
in normal mode on it -> nothing happens.
Only when I save the file and try again. I was expecting it to work on any buffer with dotoo extension.
dhruvasagar commented
@belugame Interesting, while the parser is capable of parsing arbitrary text, I believe the modifications to the in-memory representation of headlines can only serialize to a file on disk.
I do consider this as a bug, just hadn't considered the need for something like this. Should be reasonably easy fix. Thanks for reporting.
belugame commented
I'm glad you don't mind me nitpicking :)
Really appreciate your responsiveness and work! 👍
With it I will be able to cut emacs out of my setup and only edit with vim again
dhruvasagar commented
@belugame That's precisely why I wrote this plugin!