diff --git a/.spacemacs b/.spacemacs index db77825..5a7f903 100644 --- a/.spacemacs +++ b/.spacemacs @@ -31,8 +31,9 @@ values." ;; List of configuration layers to load. dotspacemacs-configuration-layers '( + ;; org org-roam - w3m + ;; w3m python yaml asciidoc @@ -47,7 +48,6 @@ values." emacs-lisp git markdown - org (shell :variables shell-default-height 30 shell-default-position 'bottom) @@ -61,6 +61,8 @@ values." ;; configuration in `dotspacemacs/user-config'. dotspacemacs-additional-packages '( elpy + emacsql + emacsql-lite ) ;; A list of packages that cannot be updated. dotspacemacs-frozen-packages '() @@ -325,7 +327,7 @@ you should place your code here." ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(org-roam-directory "/mnt/wavier/perso/roam-notes") + ;; '(org-roam-directory "/mnt/wavier/perso/roam-notes") '(package-selected-packages '(yapfify yaml-mode xterm-color unfill powerline smeargle shell-pop pytest pyenv-mode py-isort pip-requirements spinner orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mwim multi-term magit-gitflow magit-popup live-py-mode hydra lv hy-mode dash-functional htmlize parent-mode helm-pydoc projectile helm-gitignore helm-company helm-c-yasnippet gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter fuzzy flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck pkg-info epl flx highlight evil-magit magit git-commit with-editor transient smartparens iedit anzu evil goto-chg undo-tree eshell-z eshell-prompt-extras esh-help elpy pyvenv diff-hl cython-mode company-statistics company-anaconda bind-map bind-key auto-yasnippet yasnippet auto-dictionary packed anaconda-mode pythonic f dash s adoc-mode markup-faces helm avy helm-core async ac-ispell auto-complete popup mmm-mode markdown-toc markdown-mode gh-md company org-roam-server evil-unimpaired sqlite sqlite3 emacsql-sqlite3 org-roam ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu elisp-slime-nav dumb-jump diminish define-word column-enforce-mode clean-aindent-mode auto-highlight-symbol auto-compile aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line))) (custom-set-faces @@ -334,3 +336,22 @@ you should place your code here." ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) +(defun dotspacemacs/emacs-custom-settings () + "Emacs custom settings. +This is an auto-generated function, do not modify its content directly, use +Emacs customize menu instead. +This function is called at the very end of Spacemacs initialization." +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(package-selected-packages + '(yapfify yaml-mode xterm-color unfill powerline smeargle shell-pop pytest pyenv-mode py-isort pip-requirements spinner orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mwim multi-term magit-gitflow magit-popup live-py-mode hydra lv hy-mode dash-functional htmlize parent-mode helm-pydoc projectile helm-gitignore helm-company helm-c-yasnippet gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter fuzzy flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck pkg-info epl flx highlight evil-magit magit git-commit with-editor transient smartparens iedit anzu evil goto-chg undo-tree eshell-z eshell-prompt-extras esh-help elpy pyvenv diff-hl cython-mode company-statistics company-anaconda bind-map bind-key auto-yasnippet yasnippet auto-dictionary packed anaconda-mode pythonic f dash s adoc-mode markup-faces helm avy helm-core async ac-ispell auto-complete popup mmm-mode markdown-toc markdown-mode gh-md company org-roam-server evil-unimpaired sqlite sqlite3 emacsql-sqlite3 org-roam ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-themes helm-swoop helm-projectile helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu elisp-slime-nav dumb-jump diminish define-word column-enforce-mode clean-aindent-mode auto-highlight-symbol auto-compile aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) +) diff --git a/private/org-roam/packages.el b/private/org-roam/packages.el index 65d0f68..56c9f79 100644 --- a/private/org-roam/packages.el +++ b/private/org-roam/packages.el @@ -31,18 +31,21 @@ (defconst org-roam-packages '( - emacsql - emacsql-lite org-roam ) ) (defun org-roam/init-org-roam () (use-package org-roam + :ensure t + :after org :hook (after-init . org-roam-mode) + :defer t :custom - (org-roam-directory "/mnt/host/perso/roam-notes/") + (org-roam-directory + (cond ((getenv "ROAM_NOTES_ROOT")) (t "~/perso/roam-notes")) + ) :init (progn (spacemacs/declare-prefix "ar" "org-roam")