aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
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
parented1d9a36afde93a928f04e0301464e564c13775d (diff)
emacs: s/roam/denote
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org-roam.el24
-rw-r--r--.emacs.d/rul-lisp/packages/rul-write.el9
3 files changed, 6 insertions, 28 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index f5e53d0..7e3ad99 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -154,7 +154,6 @@
(require 'rul-modeline)
(require 'rul-media)
(require 'rul-org)
-(require 'rul-org-roam)
(require 'rul-wm)
(require 'rul-write)
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.
nihil fit ex nihilo