wakatara · 2022-04-03 18:11
Much like we see with NERDTree/NvimTree etc, I'm hoping to create a toggleable tree of links (hopefully configurable as an org-file) that I could then use to quickly navigate through "sections" of my emacs files collection.
(think Notion sidebar if you have not seen this or logseq's favourites sidebar.).
Is there a canonical way to do this (or even a package I have not seen) to easily allow this?
The use case is providing the quick ability to navigate and hop to various "sections" in my org-roam (and yes, while I realize this is slightly superfluous with the ability to jump between buffers with C-x b, for some reason, I find having the sections in my face much of the time keeps me weirdly focused on my higher level concerns.).
thanks!
Daryl.
Examples in case the description above is difficult to parse:
Logseq sidebar (links head to pages)
https://preview.redd.it/v7v11lhwtcr81.png?width=598&format=png&auto=webp&s=9f77a833553e1a71f4b34973f9c86e3806a70c67
Notion Dashboard (also reflected in sidebar
https://preview.redd.it/9cjw3up5ucr81.png?width=1426&format=png&auto=webp&s=3e2483a803d6dbe618e0954c4a4e6033b3f4c8de
AlanYx · 2022-04-03 21:41
There are a few options for this. I suggest looking at nano-sidebar and org-sidebar.
github-alphapapa · 2022-04-04 11:08
The simplest way would be to put links in an Org file, then display it in a side buffer with:
(cl-defun ap/display-buffer-in-side-window (&optional (buffer (current-buffer)))
"Display BUFFER in dedicated side window."
(interactive)
(let ((display-buffer-mark-dedicated t))
(display-buffer-in-side-window buffer
'((side . right)
(window-parameters
(no-delete-other-windows . t))))))
wakatara · 2022-04-05 19:19
u/github-alphapapa
You sir... are a wonder. I have no idea how you manage to know all this stuff in emacs (and if no one has thanked you lately for org-super-agenda, I just want you to know it makes my life immeasurably better. So, merci.).
Will try this out and see what havoc I can wreak.
thanks!
github-alphapapa · 2022-04-12 16:48
Well, I just read the manual and the code. Anyone can do it, it just takes a little time. :)
Thanks for the kind words. I'm glad to hear it's useful to you.
wakatara · 2022-05-22 16:33
How do you "link" to things like, say... the \*Org Agenda\* buffer via link? I've googled but it looks like that might be more of of a function call or such, so quite curious (tho strangely, it does not seem to be too big an issue to link to "subsets" of tags for the agenda and such.
github-alphapapa · 2022-05-28 01:45
You can't, because the Agenda isn't designed for that. But org-ql supports such links.