From 80617b11fb30d1ff7d381d919d5fab9b3b359100 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Fri, 30 Jul 2021 14:58:34 -0700 Subject: install latest org-roam --- .emacs.local.d/config.el | 1 - .emacs.local.d/general.el | 3 +++ .emacs.local.d/modes/org.el | 10 ++++------ 3 files changed, 7 insertions(+), 7 deletions(-) (limited to '.emacs.local.d') 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) -- cgit v1.2.3