More emacs config tweaks

This commit is contained in:
2025-06-13 15:45:45 -04:00
parent 796808a38a
commit bb55528d60
2 changed files with 8 additions and 5 deletions

View File

@@ -21,6 +21,10 @@
(add-to-list 'find-file-not-found-functions #'er-auto-create-missing-dirs)
(when (display-graphic-p)
(tool-bar-mode -1)
(scroll-bar-mode -1))
;; set repos and bootstrap use-package
;; (require 'package)
@@ -460,9 +464,6 @@
(use-package org-roam
:after org
:custom
(org-roam-directory
(expand-file-name "roam/" org-directory))
:bind
(("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
@@ -472,6 +473,10 @@
;; Dailies
("C-c n j" . org-roam-dailies-capture-today))
:config
(unless (file-exists-p (expand-file-name "gtd/" org-directory))
(make-directory (expand-file-name "gtd/" org-directory) t))
(setq org-roam-directory
(expand-file-name "roam/" org-directory))
(require 'org-roam-protocol)
(require 'org-roam-export)
(org-roam-db-autosync-mode)