Files
org_roam/20260401100130-emacs_org_noter.org
2026-04-02 11:27:11 +01:00

48 lines
1.3 KiB
Org Mode
Executable File

:PROPERTIES:
:ID: 168b6b10-d670-4f9d-89cf-aeb59aa644a1
:END:
#+title: Emacs Org Noter
#+filetags: :emacs:org:notes:
In order to create notes for a book:
1. Create an empty org roam file
2. Add the relative file path in metadata for that node, with the title ~NOTER_DOCUMENT~
See the example below (auto save and page will get filled in)
3. Hover over the Notes heading created and click ~SPC-n n~ to open org noter
#+begin_src org
,* Ikigai Notes
:PROPERTIES:
:NOTER_DOCUMENT: ../../../pdfs/_misc/Ikigai.pdf
:NOTER_AUTO_SAVE_LAST_LOCATION: t
:NOTER_PAGE: 61
:END:
#+end_src
* Config needed:
#+begin_src emacs-lisp
(setq org-noter-notes-search-path
'("D:\\_nextcloud\\master-folder\\org_files\\org_roam\\"))
(setq org-noter-always-create-frame nil)
(setq org-noter-property-doc-file "NOTER_DOCUMENT")
(require 'pdf-tools)
(pdf-tools-install)
(use-package pdf-view-restore
:after pdf-tools
:config
(add-hook 'pdf-view-mode-hook 'pdf-view-restore-mode)
(setq pdf-view-restore-filename "~/.emacs.d/.pdf-view-restore"))
#+end_src
* Keybindings:
#+begin_src emacs-lisp
(dt/leader-keys
"n" '(:ignore t :wk "Org Noter")
"n n" '(org-noter :wk "Open org-noter")
)
#+end_src