summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-06-02 19:55:27 +0100
committerYann Herklotz <git@yannherklotz.com>2023-06-02 19:57:15 +0100
commitcb6f423b0fa82c09c370323bafa50ab6756efcdb (patch)
tree6aa5fa82e815a6707c115f862b0a9368aa6d1fb0
parente17128431e12506a3e30116ff471f96350011d75 (diff)
downloadymh-emacs-cb6f423b0fa82c09c370323bafa50ab6756efcdb.tar.gz
ymh-emacs-cb6f423b0fa82c09c370323bafa50ab6756efcdb.zip
Small changes to note taking
-rw-r--r--init.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/init.el b/init.el
index fab96da..671988d 100644
--- a/init.el
+++ b/init.el
@@ -879,7 +879,7 @@ https://yannherklotz.com"))
(setq notmuch-fcc-dirs
'(("yann@yannherklotz.com" . "mailbox/Sent -inbox +sent -unread +mailbox -new")
- ("git@yannherklotz.com" . "mailbox/Sent -inbox +sent -unread +mailbox -new")
+ ("git@yannherklotz.com" . "mailbox/Sent -inbox +sent -unread +mailbox -new")
("yann.herklotz15@imperial.ac.uk" . "\"imperial/Sent Items\" -inbox +sent -unread +imperial -new")))
(setq +notmuch-home-function (lambda () (notmuch-search "tag:inbox"))))
@@ -890,11 +890,11 @@ https://yannherklotz.com"))
(use-package ebib
:ensure t
:bind (("C-c y b" . ebib)
- ("C-c [" . ebib-insert-citation))
+ ("C-c i" . ebib-insert-citation))
:custom
(ebib-preload-bib-files (list (ymh/expand-bib-file "references.bib")))
- (ebib-notes-default-file (ymh/expand-bib-file "notes.org"))
- (ebib-notes-template "* %T\n:PROPERTIES:\n%K\n:NOTER_DOCUMENT: papers/%k.pdf\n:END:\n%%?\n")
+ (ebib-notes-default-file (ymh/expand-bib-file "bibliography.org"))
+ (ebib-notes-template "* %T\n:PROPERTIES:\n%K\n:NOTER_DOCUMENT: papers/%k.pdf\n:END:\n\n[%C]\n\n%%?\n")
(ebib-keywords (ymh/expand-bib-file "keywords.txt"))
(ebib-reading-list-file (ymh/expand-bib-file "reading_list.org"))
(ebib-notes-storage 'multiple-notes-per-file)
@@ -915,7 +915,8 @@ https://yannherklotz.com"))
(advice-add 'bibtex-generate-autokey :around
(lambda (orig-func &rest args)
(replace-regexp-in-string ":" "" (apply orig-func args))))
- (remove-hook 'ebib-notes-new-note-hook #'org-narrow-to-subtree))
+ ;;(remove-hook 'ebib-notes-new-note-hook #'org-narrow-to-subtree)
+ )
(use-package spell-fu
:ensure t
@@ -1281,6 +1282,9 @@ https://yannherklotz.com"))
(use-package bbdb-vcard
:ensure t)
+(use-package lua-mode
+ :ensure t)
+
(setq gc-cons-threshold (* 1024 1024 10))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))