From 2b9e83348322dae281f2bcc89a73a3287f305b22 Mon Sep 17 00:00:00 2001 From: Fr3deric Date: Thu, 3 Sep 2020 23:17:00 +0200 Subject: [PATCH] add config for evil-org and org-journal --- init.el | 14 ++++++++++++++ install-packages.el | 1 + 2 files changed, 15 insertions(+) diff --git a/init.el b/init.el index bfa1518..b85c233 100644 --- a/init.el +++ b/init.el @@ -18,6 +18,20 @@ (require 'evil) (evil-mode 1) +(require 'evil-org) +(add-hook 'org-mode-hook 'evil-org-mode) +(evil-org-set-key-theme '(navigation insert textobjects additional calendar)) +(require 'evil-org-agenda) +(evil-org-agenda-set-keys) + +(setq org-startup-indented t) + +(setq org-journal-dir "~/org/journal/") +(setq org-journal-date-format "%A, %d %B %Y") +(setq org-journal-file-format "%Y-%m-%d.org") +(setq org-journal-file-type "daily") +(require 'org-journal) + (require 'treemacs) (require 'treemacs-evil) diff --git a/install-packages.el b/install-packages.el index 38cb353..0859efc 100755 --- a/install-packages.el +++ b/install-packages.el @@ -25,6 +25,7 @@ (package-install 'which-key) (package-install 'ido-vertical-mode) (package-install 'evil-surround) +(package-install 'org-journal) ;; prompts for font installation directory ;;(all-the-icons-install-fonts t)