You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Papis with vim integration would make a really nice companion to VimWiki as a research notebook and VimwikiDiary as a research journal.
Right now there is a bit of decision fatigue. Suppose I read a paper today as part of some project, do I:
Record those notes in the papis notes file for the paper. This is great if I read the paper later for some other project.
Record the notes in my VimWikiDiary, which is great for keeping track of what I did today and recalling project progress.
Record the notes in the VimWiki entry for that project, which is great for keeping ideas related to the project all in one place.
Making Papis integrate with vimwiki (markdown) syntax to allow me to easily drop vimwiki links to the notes file massively simplifies this. I can have and eat all 3 cakes at once by just keeping the notes in the Papis notes file and linking to them from my VimWikiDiary or VimWiki project entry.
At the moment it would be sufficient to have a :PapisNoteWikiLink (or more generally :PapisNoteMarkdownLink) function which opens the TUI for selecting a document and then exports the path to the notes file (relative to the vimwiki, that might be a bit annoying). It doesn't even need to do the templating stuff, because it could just return [](rel/path/to/notes) and let the user supply their own link text in the [] spot.
However this function is written would guide other convenience functions. E.g. :Papis currently supplies the bibtex cite command, e.g. for Latex. A custom function like :PapisTemplate which could read a custom template specified in the vimrc (like {doc[title]} {doc[author]}) and then reads that into the file. This would be a convenience function together with the above :PapisNoteWikiLink to put some text-formatted citations inside markdown files.
The text was updated successfully, but these errors were encountered:
jessebett
changed the title
General VimWiki Integration
General VimWiki and Markdown Integration
Nov 7, 2019
Take a look at Vim-Zettel, which is a plugin that implements the Zettelkasten method on top of VimWiki. It can import a temporary file to wiki using
vim -c ZettelCapture temp.txt
The contents of the file is replaced with a path to the new wiki note. Basic usage is as follows:
papis export -o temp.txt && vim -c ZettelCapture temp.txt
This will create a wiki file with bibtex information of the selected publication, the temp.txt then contains the full path to the new wiki file.
I've planned to use this command together with Papis - my plan was to write a script that will let me select an item from Papis database and open a corresponding wiki page if it already exists. It if doesn't exist, then create a temporary wiki file with the basic bibliographic info, import it to Vimwiki, and save the link to the wiki file in the Papis record. I haven't done it yet, though.
Expanding #4 and the blurb I just dumped in papis/papis#236.
Papis with vim integration would make a really nice companion to VimWiki as a research notebook and VimwikiDiary as a research journal.
Right now there is a bit of decision fatigue. Suppose I read a paper today as part of some project, do I:
Making Papis integrate with vimwiki (markdown) syntax to allow me to easily drop vimwiki links to the notes file massively simplifies this. I can have and eat all 3 cakes at once by just keeping the notes in the Papis notes file and linking to them from my VimWikiDiary or VimWiki project entry.
At the moment it would be sufficient to have a
:PapisNoteWikiLink
(or more generally:PapisNoteMarkdownLink
) function which opens the TUI for selecting a document and then exports the path to the notes file (relative to the vimwiki, that might be a bit annoying). It doesn't even need to do the templating stuff, because it could just return[](rel/path/to/notes)
and let the user supply their own link text in the [] spot.However this function is written would guide other convenience functions. E.g.
:Papis
currently supplies the bibtex cite command, e.g. for Latex. A custom function like:PapisTemplate
which could read a custom template specified in the vimrc (like{doc[title]} {doc[author]}
) and then reads that into the file. This would be a convenience function together with the above:PapisNoteWikiLink
to put some text-formatted citations inside markdown files.The text was updated successfully, but these errors were encountered: