Compare commits

...

3 Commits

Author SHA1 Message Date
Daniel - 4bce1dec3e
Globally enable company-mode
This is an experimental setting to increase usage of completion
functionaly in my workflow.  It's not clear yet whether I will find this
disturbing, though.
2023-12-23 15:29:02 +01:00
Daniel - c0c5dfd080
Include unlinked references in Org roam buffer
This is an experimental setting to spot missing references easily.
Performance cost might be prohibitive, though.
2023-12-23 15:28:24 +01:00
Daniel - 4dfb36858a
Move Org roam db autosync activation to use-package definition
No need to conditionally enable it in main initialization function when
it can be done directly directly after loading `org-roam`.  This keeps
the configuration of the package local, i.e. syntactically together.
2023-12-23 15:27:06 +01:00
1 changed files with 8 additions and 6 deletions

14
init.el
View File

@ -1260,10 +1260,14 @@
org-roam-capture)
:custom ((org-roam-directory "~/Documents/zettelkasten/")
(org-roam-db-location "~/Documents/zettelkasten/org-roam.db")
(org-roam-completion-everywhere t))
(org-roam-completion-everywhere t)
(org-roam-mode-sections (list #'org-roam-backlinks-section
#'org-roam-reflinks-section
#'org-roam-unlinked-references-section)))
:bind (:map org-roam-mode-map
(("C-c n l" . org-roam-buffer-toggle)
("C-c n g" . org-roam-graph))))
("C-c n g" . org-roam-graph)))
:config (org-roam-db-autosync-mode))
;; * General Programming
@ -2896,7 +2900,8 @@ eventuelly be set to nil, however)."
which-key-mode
projectile-mode
yas-global-mode
global-git-commit-mode))
global-git-commit-mode
global-company-mode))
(with-demoted-errors "Cannot activate mode: %s"
(funcall mode +1)))
@ -2914,9 +2919,6 @@ eventuelly be set to nil, however)."
;; separate `helm-command-prefix-key' mechanism.
(require 'helm)
(when (package-installed-p 'org-roam)
(org-roam-db-autosync-mode))
;; Global Hooks
(add-hook 'minibuffer-setup-hook 'cursor-intangible-mode)