felko / neuron-mode

An emacs mode for editing Zettelkasten notes with neuron
GNU General Public License v3.0
118 stars 21 forks source link

Navigate "nearby zettels" #30

Closed srid closed 4 years ago

srid commented 4 years ago

Would be nice to have a command to open a zettel by backlink (folgezettel or not) relationship.

https://github.com/srid/neuron/pull/206 can be used today, however a QueryGraph_BacklinksOf would probably be easier (to shift the processing from emacs to neuron).

pjones commented 4 years ago

@srid Is there an open issue for neuron to implement QueryGraph_BacklinksOf?

Trying to build a backlink display from the graph JSON in elisp would be a bit laborious. I'd much rather do it in Haskell.

srid commented 4 years ago

There is no issue for it, but PR is welcome.

Basically add a constructor here, add to CLI spec here and finally add the implementation in runGraphQuery.

clemera commented 3 years ago

Is it indicated in the completion UI if the the backlinks are folgezettel or not? I'm interested in tying neuron, I think it looks very interesting but it looks like the backlinks/uplinks listings are only available for the web UI? Would it be possible to have that indication of backlinks/uplinks directly in the markdown buffer like in the WebUI?