Add bind for opening citar link
Change org capture templates to use dedicated inbox.org file (under relevant headings), with the aim to sort notes later after taking
This commit is contained in:
parent
cca03702c5
commit
9294ce5626
|
@ -24,7 +24,6 @@
|
|||
(keymap-global-set "C-c o a" #'org-agenda)
|
||||
(keymap-global-set "C-c o n" #'org-capture)
|
||||
(keymap-global-set "C-c o l" #'org-capture-goto-last-stored)
|
||||
(keymap-global-set "C-c o c" #'org-goto-calendar)
|
||||
(keymap-global-set "C-c o j j" #'org-journal-new-entry)
|
||||
(keymap-global-set "C-c o j n" #'org-journal-new-date-entry)
|
||||
(keymap-global-set "C-c o j s" #'org-journal-new-scheduled-entry)
|
||||
|
@ -34,25 +33,15 @@
|
|||
|
||||
(setq org-capture-templates
|
||||
'(("n" "Note" entry
|
||||
(file+headline "notes.org" "Inbox")
|
||||
(file+headline "inbox.org" "Note")
|
||||
"* %?"
|
||||
:prepend t
|
||||
:empty-lines 1)
|
||||
("N" "Note (with context)" entry
|
||||
(file+headline "notes.org" "Inbox")
|
||||
"* %?\n%a\n%i"
|
||||
:prepend t
|
||||
:empty-lines 1)
|
||||
("t" "Task" entry
|
||||
(file "todo.org")
|
||||
(file+headline "inbox.org" "Task")
|
||||
"* TODO %?"
|
||||
:prepend t
|
||||
:empty-lines 1)
|
||||
("T" "Task (with context)" entry
|
||||
(file "todo.org")
|
||||
"* TODO %?\n%a\n%i"
|
||||
:prepend t
|
||||
:empty-lines 1)
|
||||
))
|
||||
|
||||
(setq citar-bibliography '("~/.references/main.bib")
|
||||
|
@ -61,7 +50,8 @@
|
|||
citar-symbols '((file "F" . "")
|
||||
(note "N" . "")
|
||||
(link "L" . "")))
|
||||
(require 'citar nil :noerror)
|
||||
(when (require 'citar nil :noerror)
|
||||
(keymap-global-set "C-c o c o" #'citar-open))
|
||||
|
||||
(setq khalel-import-org-file (expand-file-name "calendar.org" org-directory)
|
||||
khalel-import-org-file-read-only nil
|
||||
|
|
Loading…
Reference in a new issue