Using Outlines with Zettelkästen
@Zettelkasten
Outlines replace fixed hierarchies and orderings in the namespace of Zettels, see here why.
Here is a great tip on how to use outlines:
An outline in the context of a Zettelkasten system is an index of a sequence of Zettelns that create a story, or a narrative, or an argument. They may come with a simple list of a sequence of Zetteln, or with contextual information such as headlines. An outline can also be written as an abstract of a paper where each argument or statement in the abstract is supported by a link to a Zettel. This allows the author to make sure that the narrative is coherent and each argument is well supported. The final paper will simply be an expansion of the abstract into a concatenation of the listed Zettelns. A sequence of Folgezetteln notes in the filenames of the Zettelns can from this perspective be considered a hardcoded outline and should be avoided, however convenient it seems.
- Create narratives
- As a paper abstract with links to supporting arguments
- Writings the paper starts with expanding the links
How to create them?
Manually is an option; that's what I do now.
I should also write scripts to dynamically generate them, that means: depending on a search query!
Idea: query a tag: put all resulting matches as markdown links in a new Zettel.
E.g. :echo taglist("Zettelkasten")
How do I redirect that to the current buffer? Probably use redir https://vim.fandom.com/wiki/Capture_ex_command_output or in Vim 8 execute. N.B. I introduced spaces everywhere after each @ to avoid them being parsed as tags.
:redir @ a | echo taglist("Zettelkasten") | redir END
Then paste from register 'a' with "ap. Works!
But the output is not parsed yet. I'm only interested in the filename.
[{'cmd': '/^@ Zettelkasten$/', 'static': 0, 'name': 'Zettelkasten', 'kind': 't', 'filename': 'Zettelkasten/zettelkasten_is_about_writing_not_collecting.md'}, {'cmd': '/^@ Zettelkasten$/', 'static': 0, 'name': 'Zettelkasten', 'kind': 't', 'filename': 'Zettelkasten/zettelkasten_outlines.md'}, {'cmd': '/^@ zettelkasten$/', 'static': 0, 'name': 'zettelkasten', 'kind': 't', 'filename': 'Zettelkasten/zettelkasten_ordering.md'}]