-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Edit and capture use buffer instead of file #326
Comments
Hello ! I quite don't get the problem here. What do you mean that "use file instead of buffer "? Oh i think I know what you mean there. Indeed we read the file content from file system in order to prevent creating a lot of buffers. Try to save the file before opening any view, so that you don't have any errors. Tell me if it works for you ! |
Damn, I got the title reverse. I fixed it. The description was correct though. |
It's true saving bevorhand works, but it's a workaround. If I have a lot of buffers I would have to think before using |
Hello again ! Indeed, this is related to #225 and #259 (comment). Before doing any real change, I think we need to discuss more about the potential requirement of this feature |
I had a similar issue today, I had changed some things in my Anyway, even if you still want to read from file I would say either:
|
We plan to rewrite GTD core with @vhyrro, so we will definitely handle this problematic |
One other example where this is an issue:
The second todo will then overwrite the first since we didn't save in between. |
Any updates on this? Not sure how to workaround this issue, Neorg + GTD is exactly what I was looking for. |
For reference: #695 |
Prerequisites
Neovim Version
NVIM v0.6.1
Neorg setup
Config
Actual behavior
:Neorg gtd edit
:Neorg gtd capture
Expected behavior
:Neorg gtd edit
should always use buffer.:Neorg gtd capture
x -> Add to cursor position
should always use buffer.p -> Add to project
should use buffer if file is open and has changes or if file is open and is current buffer.<CR> -> Add to inbox
should use buffer if file is open and has changes or if file is open and is current buffer.Steps to reproduce
Open norg file with tasks. Insert empty line above task without saving.
:Neorg gtd edit
Create new note with
core.norg.dirman.new.note
without saving.:Neorg gtd capture
->x -> Add to cursor position
.Potentially conflicting plugins
No response
Other information
No response
Help
No
Implementation help
No response
The text was updated successfully, but these errors were encountered: