2.2 KiB
2.2 KiB
Emacs Org Noter
For the config, see Emacs Config for the Source of truth
In order to create notes for a book:
- Create an empty org roam file
- Add the relative file path in metadata for that node, with the title
NOTER_DOCUMENTSee the example below (auto save and page will get filled in) - Hover over the Notes heading created and click
SPC-n nto open org noter
* Ikigai Notes
:PROPERTIES:
:NOTER_DOCUMENT: ../../../pdfs/_misc/Ikigai.pdf
:NOTER_AUTO_SAVE_LAST_LOCATION: t
:NOTER_PAGE: 61
:END:
Config needed:
(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"))
For non pdfs notes:
(setq org-capture-templates
'(("d" "Daily TODO" entry
(file+headline (lambda () (z/find-current-week-file)) "TODOs")
"* TODO %?\nSCHEDULED: %t\n"
:empty-lines 1)
("c" "Add to calendar.org" entry
(file+headline "~/master-folder/org_files/calendar.org" "Calendar")
"* TODO %?\nSCHEDULED: %^t\n"
:empty-lines 1)
("n" "Add notes" entry
(file+headline (lambda () (z/find-current-week-file)) "Notes")
"* Note: %?\n"
:empty-lines 1)
("w" "Weekly Review" entry
(file+function (lambda () (z/find-current-week-file)) z/goto-weekly-review)
"* Review: %?\nEntered on %U\n"
:empty-lines 1)
("b" "Book Note" entry
(file+headline (lambda () (buffer-file-name)) "Notes")
"** p. %^{Page}\n[%^{Type|Insight|Important|Quote|Confusing}] %?\n")
))
Keybindings:
(dt/leader-keys
"n" '(:ignore t :wk "Org Noter")
"n n" '(org-noter :wk "Open org-noter")
)