aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-write.el
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-12-03 19:04:35 -0800
committerRaúl Benencia <id@rbenencia.name>2023-12-03 19:04:35 -0800
commitcedeadb9806315a6e6af4eede67e690732955685 (patch)
treef2a10549308410028ce5c03f82afcc9c69fece97 /.emacs.d/rul-lisp/packages/rul-write.el
parented1d9a36afde93a928f04e0301464e564c13775d (diff)
emacs: s/roam/denote
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-write.el')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-write.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-write.el b/.emacs.d/rul-lisp/packages/rul-write.el
index d668975..2782a3d 100644
--- a/.emacs.d/rul-lisp/packages/rul-write.el
+++ b/.emacs.d/rul-lisp/packages/rul-write.el
@@ -10,7 +10,7 @@
:config
(setq denote-infer-keywords t)
(setq denote-sort-keywords t)
- (setq denote-file-type 'text)
+ (setq denote-file-type 'org)
(setq denote-excluded-directories-regexp nil)
(setq denote-allow-multi-word-keywords nil)
(setq denote-link-fontify-backlinks t)
@@ -20,8 +20,11 @@
(let ((map global-map))
(define-key map (kbd "C-c n j") #'rul/denote-journal)
- (define-key map (kbd "C-c n n") #'denote))
-)
+ (define-key map (kbd "C-c n n") #'denote)
+ (define-key map (kbd "C-c n f") #'denote-open-or-create)
+ (define-key map (kbd "C-c n i") #'denote-link)
+ (define-key map (kbd "C-c n r") #'denote-rename-file)
+ )
(defun rul/denote-journal ()
"Create an entry tagged 'journal' with the date as its title.
nihil fit ex nihilo