Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to clock-in on a caption in unsaved buffer / dotoo file #82

Open
belugame opened this issue Jul 12, 2020 · 3 comments
Open

Comments

@belugame
Copy link

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
Copy link
Owner

@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
Copy link
Author

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
Copy link
Owner

@belugame That's precisely why I wrote this plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants