Customizing org-sidebar-tree to jump to marker without narrowing or splitting org doc
Hi there! This is a great package, thank you very much for creating it.
I really like the org-sidebar-tree functionality, however I am trying to configure mine so that when I select a header from the sidebar, it simply jumps to the corresponding section in the org doc, but you can still see the other sections (similar to Word navigation). Below is the code I have tried -- could you share any insights on how to customize in this way?
(defun my/org-sidebar-tree-jump-visible (_button marker) "Jump to MARKER in the Org buffer without narrowing or splitting." (when (markerp marker) (switch-to-buffer (marker-buffer marker)) (goto-char marker) (org-fold-show-entry) (org-fold-show-subtree) (message "Jumped to: %s" marker))) (setq org-sidebar-tree-jump-fn #'my/org-sidebar-tree-jump-visible)
Thanks very much!