aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/config.el1
-rw-r--r--.emacs.local.d/general.el3
-rw-r--r--.emacs.local.d/modes/org.el10
3 files changed, 7 insertions, 7 deletions
diff --git a/.emacs.local.d/config.el b/.emacs.local.d/config.el
index 0901c9d..fafc937 100644
--- a/.emacs.local.d/config.el
+++ b/.emacs.local.d/config.el
@@ -2,4 +2,3 @@
(setq org-agenda-files '("~/org/"))
(setq org-roam-directory "~/org/roam/")
-(add-hook 'after-init-hook 'org-roam-mode)
diff --git a/.emacs.local.d/general.el b/.emacs.local.d/general.el
index b02440a..655b130 100644
--- a/.emacs.local.d/general.el
+++ b/.emacs.local.d/general.el
@@ -7,6 +7,9 @@
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
+(add-to-list 'package-archives
+ '("melpa" . "https://melpa.org/packages/") t)
+
(add-to-list 'load-path "~/.emacs.local.d/elisp")
;; ------
diff --git a/.emacs.local.d/modes/org.el b/.emacs.local.d/modes/org.el
index 45c5b25..d657201 100644
--- a/.emacs.local.d/modes/org.el
+++ b/.emacs.local.d/modes/org.el
@@ -1,5 +1,4 @@
;; Debian packages: elpa-org elpa-org-bullets
-
(require 'org-capture)
(require 'org-protocol)
(require 'org-habit)
@@ -12,15 +11,14 @@
(require 'org)
(use-package org-roam
+ :ensure t
:init
(setq org-roam-v2-ack t)
- :custom
- (org-roam-completion-everywhere 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)
- :map org-mode-map
- ("C-M-i" . completion-at-point)))
+ ("C-c n i" . org-roam-node-insert))
+ :config
+ (org-roam-setup))
(setq org-cycle-separator-lines 0)
(setq org-startup-indented t)
nihil fit ex nihilo