feat(org-noter): notes-search-path, auto-save-last-location, no-questions insert

This commit is contained in:
2026-02-23 20:11:55 +01:00
parent b8b149cfe7
commit bf5401dca5

View File

@@ -1207,7 +1207,15 @@ Otherwise: runs interactive ement-connect, then opens rooms after sync."
(use-package! org-noter (use-package! org-noter
:after (:any org pdf-view) :after (:any org pdf-view)
:config :config
(setq org-noter-notes-window-location 'horizontal-split)) (setq org-noter-notes-window-location 'horizontal-split
;; Where to search for and create notes files (same dir as org notes)
org-noter-notes-search-path (list (expand-file-name "notes/" org-directory))
;; Remember last position in PDF across sessions
org-noter-auto-save-last-location t
;; Insert note at precise location (not just page level)
org-noter-insert-note-no-questions nil
;; Always use separate notes file per PDF (cleaner than one big file)
org-noter-use-indirect-buffer nil))
(map! :leader (map! :leader
(:prefix ("o" . "open") (:prefix ("o" . "open")