vim-notes
vim-notes copied to clipboard
Note buffer opened with `gF` won't save
gvim-7.4.1821, vim-notes-0.33.4
I use :RecentNotes
as the dashboard screen, and gF
to navigate notes.
For some reason, saving notes :w
is not possible on buffers opened with gF
.
Using :Note <note>
works properly.
Having this issue with :NoteToMarkdown. Unable to write the converted file to disk, ex) " :w test.md" saves nothing.
I can reproduce this. In this state, the syntax highlighting isn't working either. But if I use :Note to re-open the file in question, syntax highlighting comes back and I can save once more.
This same state (no syntax highlighting, unable to save changes with :w) also occurs when I:
- use :e and the absolute path of the desired note (in my notes directory)
- use ctrl-p to load the note (would love for this to work!)
- open a note, open a different note in a different buffer, go back to the first note
- source .vimrc (even if it's empty!) while in a different buffer, then return to my note buffer
However, if I source .vimrc while in my note buffer, it remains active.
This may be a similar problem…
I run :Note test
to create a note. Type in a path (~/Desktop
). Save with :w
. With the cursor on the path, I gf
and hop to the the folder in netrw. Great. Then :bp
to go back to the note.
I type in a second path (~/Documents
). Save with :w
. With the cursor on the path, I gf
, hop to the new directory, but when I :bp
to go back to the note, it is completely empty, and I can find no record (swap, etc.) of the previous text.