diff options
Diffstat (limited to '.emacs.d/rul-lisp')
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-org-roam.el | 24 | ||||
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-write.el | 9 |
2 files changed, 6 insertions, 27 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-org-roam.el b/.emacs.d/rul-lisp/packages/rul-org-roam.el deleted file mode 100644 index f30e86e..0000000 --- a/.emacs.d/rul-lisp/packages/rul-org-roam.el +++ /dev/null @@ -1,24 +0,0 @@ -(use-package org-roam - :ensure t - :after rul-org - :init - (setq org-roam-v2-ack t) - :bind (("C-c n l" . org-roam-buffer-toggle) - ("C-c n f" . org-roam-node-find) - ("C-c n i" . org-roam-node-insert)) - :config - (require 'rul-config-org) - (org-roam-setup) - (add-to-list 'display-buffer-alist - '("\\*org-roam\\*" - (display-buffer-in-direction) - (direction . right) - (window-width . 0.33) - (window-height . fit-window-to-buffer))) - (setq org-roam-mode-section-functions - (list #'org-roam-backlinks-section - #'org-roam-reflinks-section - #'org-roam-unlinked-references-section)) - ) - -(provide 'rul-org-roam) 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. |