This commit is contained in:
79
Technical/Emacs/Org Noter.md
Normal file
79
Technical/Emacs/Org Noter.md
Normal file
@@ -0,0 +1,79 @@
|
||||
****For the config, see [[Emacs Config]] for the Source of truth****
|
||||
|
||||
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
|
||||
|
||||
<!-- end list -->
|
||||
|
||||
``` org
|
||||
* Ikigai Notes
|
||||
:PROPERTIES:
|
||||
:NOTER_DOCUMENT: ../../../pdfs/_misc/Ikigai.pdf
|
||||
:NOTER_AUTO_SAVE_LAST_LOCATION: t
|
||||
:NOTER_PAGE: 61
|
||||
:END:
|
||||
```
|
||||
|
||||
# Config needed:
|
||||
|
||||
``` commonlisp
|
||||
|
||||
(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:
|
||||
|
||||
``` commonlisp
|
||||
|
||||
(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:
|
||||
|
||||
``` commonlisp
|
||||
(dt/leader-keys
|
||||
"n" '(:ignore t :wk "Org Noter")
|
||||
"n n" '(org-noter :wk "Open org-noter")
|
||||
)
|
||||
```
|
||||
Reference in New Issue
Block a user