From d20e3cbd018ce94f72b4f3352a17c8118e52359d Mon Sep 17 00:00:00 2001 From: horhik Date: Mon, 3 May 2021 00:16:51 +0300 Subject: [PATCH] udpate doom config --- home/doom_emacs/.doom.d/config.el | 8 ++++++++ home/doom_emacs/.doom.d/custom.el | 2 +- home/doom_emacs/.doom.d/packages.el | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/home/doom_emacs/.doom.d/config.el b/home/doom_emacs/.doom.d/config.el index 247ede5..162080e 100644 --- a/home/doom_emacs/.doom.d/config.el +++ b/home/doom_emacs/.doom.d/config.el @@ -32,6 +32,7 @@ ;; change `org-directory'. It must be set before org loads! (setq org-directory "~/Brain/") +(setq org-agenda-files (list org-directory "~/Brain/Tasks")) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. (setq display-line-numbers-type t) @@ -108,3 +109,10 @@ (smartparens-global-mode -1) (org-roam-server-mode) (smartparens-global-mode 1)) + + +(use-package ox-hugo + :ensure t ;Auto-install the package from Melpa (optional) + :after ox) + +(setq HUGO_BASE_DIR "~/Site") diff --git a/home/doom_emacs/.doom.d/custom.el b/home/doom_emacs/.doom.d/custom.el index efa787a..5361910 100644 --- a/home/doom_emacs/.doom.d/custom.el +++ b/home/doom_emacs/.doom.d/custom.el @@ -4,7 +4,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(lsp-treemacs treemacs-all-the-icons with-editor transient org-notifications org-mind-map org-evil org-alert nroam linum-relative evil-mc emojify-logos ctable))) + '(org-roam-server ox-hugo lsp-treemacs treemacs-all-the-icons with-editor transient org-notifications org-mind-map org-evil org-alert nroam linum-relative evil-mc emojify-logos ctable))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/home/doom_emacs/.doom.d/packages.el b/home/doom_emacs/.doom.d/packages.el index f4d040f..51801e4 100644 --- a/home/doom_emacs/.doom.d/packages.el +++ b/home/doom_emacs/.doom.d/packages.el @@ -50,6 +50,7 @@ (package! all-the-icons) (package! lsp-treemacs) (package! org-roam-server) +(package! ox-hugo) ;; Doom's packages are pinned to a specific commit and updated from release to ;; release. The `unpin!' macro allows you to unpin single packages...