Skip to content

Option to track open buffer instantly #20

Description

@heraplem

Right now, the side tree only updates on a timer, I assume because it would be prohibitively expensive to update after every keystroke. But it wouldn't be so expensive to update immediately after every buffer switch.

This would require only a small amount of code. The core would look something like this:

(defun +org-sidetree-maybe-update ()
  (when (eq 'org-mode major-mode)
    (org-side-tree-update)))

(add-hook 'window-configuration-change-hook 'org-sidetree-maybe-update)

There would also need to be a configuration variable and maybe some light integration logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions