From 3159dd93e7707e7b3e2c9f803913fd8e8f8f6325 Mon Sep 17 00:00:00 2001 From: AChavali Date: Mon, 30 Dec 2019 13:08:36 +0000 Subject: ~moved org stuff into its own section --- doom.d/config.org | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'doom.d/config.org') diff --git a/doom.d/config.org b/doom.d/config.org index 1a246e1..38e32c4 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -22,10 +22,6 @@ Setting up variables and basic stuff that doesn't require a lot of work. (setq truncate-lines t) (setq display-line-numbers-type nil) -(after! org - (setq org-agenda-files "calendar.org") - (setq org-directory "~/Text")) - (cl-pushnew '("Libgen" . "https://libgen.me/search/all?search=%s") +lookup-provider-url-alist :key #'car) (display-battery-mode 1) @@ -327,16 +323,17 @@ Function to quickly check weather, which is what I wanted wttrin for. - Setup the LSP server on the lsp-language-id-config in case it hasn't already ** Org #+BEGIN_SRC elisp -(after! org - (map! ; Org keybinds - :map org-mode-map - :localleader - :desc "Org dispatch" "e" #'org-export-dispatch - :desc "Export to ODT" "E" #'org-pandoc-export-to-odt - (:prefix ("N" . "+narrow") - :desc "Narrow to subtree" "n" #'org-narrow-to-subtree - :desc "Go out of narrow" "o" #'widen - :desc "Narrow tags" "t" #'org-tags-sparse-tree))) +(setq org-agenda-files "~/Text") +(setq org-directory "~/Text") +(map! ; Org keybinds + :map org-mode-map + :localleader + :desc "Org dispatch" "e" #'org-export-dispatch + :desc "Export to ODT" "E" #'org-pandoc-export-to-odt + (:prefix ("N" . "+narrow") + :desc "Narrow to subtree" "n" #'org-narrow-to-subtree + :desc "Go out of narrow" "o" #'widen + :desc "Narrow tags" "t" #'org-tags-sparse-tree)) #+END_SRC I like using the org dispatch facilities more than the default export keybinds in Doom, so I need this binding -- cgit v1.2.3-13-gbd6f