-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Description
Hello,
I am trying to refresh the toc of an org-mode file after the headers changed. But it seems that refreshing (by hitting g or r in the treemacs buffer) does not do anything for org files.
Although it works to display newly created files or to remove deletted files.
The only way to update the view of my org file as of now is to reboot emacs.
Am I doing something wrong or is this just not implemented yet?
Here is my treemacs setup (I am trying to setup treemacs as a toc only explorer in org and tex files, I do not really use it to explore files):
(use-package treemacs
:init
(with-eval-after-load 'winum
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
:config
(progn
(setq treemacs-display-in-side-window t
treemacs-file-event-delay 2000
treemacs-indentation 2
treemacs-indentation-string " "
treemacs-text-scale 0.8
treemacs-width 30
treemacs-width-increment 1
treemacs-persist-file nil
treemacs-display-current-project-exclusively t
)
(with-eval-after-load 'treemacs
(treemacs-follow-mode t)
(treemacs-filewatch-mode t))
)
:bind
(:map global-map
("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows)
("C-x t t" . treemacs)
("C-x t d" . treemacs-select-directory)
("C-x t B" . treemacs-bookmark)
("C-x t C-t" . treemacs-find-file)
("C-x t M-t" . treemacs-find-tag)))
Metadata
Metadata
Assignees
Labels
No labels