~moved org stuff into its own section

This commit is contained in:
AChavali
2019-12-30 13:08:36 +00:00
parent 0840012fc1
commit 3159dd93e7

View File

@@ -22,10 +22,6 @@ Setting up variables and basic stuff that doesn't require a lot of work.
(setq truncate-lines t) (setq truncate-lines t)
(setq display-line-numbers-type nil) (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) (cl-pushnew '("Libgen" . "https://libgen.me/search/all?search=%s") +lookup-provider-url-alist :key #'car)
(display-battery-mode 1) (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 - Setup the LSP server on the lsp-language-id-config in case it hasn't already
** Org ** Org
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
(after! org (setq org-agenda-files "~/Text")
(map! ; Org keybinds (setq org-directory "~/Text")
:map org-mode-map (map! ; Org keybinds
:localleader :map org-mode-map
:desc "Org dispatch" "e" #'org-export-dispatch :localleader
:desc "Export to ODT" "E" #'org-pandoc-export-to-odt :desc "Org dispatch" "e" #'org-export-dispatch
(:prefix ("N" . "+narrow") :desc "Export to ODT" "E" #'org-pandoc-export-to-odt
:desc "Narrow to subtree" "n" #'org-narrow-to-subtree (:prefix ("N" . "+narrow")
:desc "Go out of narrow" "o" #'widen :desc "Narrow to subtree" "n" #'org-narrow-to-subtree
:desc "Narrow tags" "t" #'org-tags-sparse-tree))) :desc "Go out of narrow" "o" #'widen
:desc "Narrow tags" "t" #'org-tags-sparse-tree))
#+END_SRC #+END_SRC
I like using the org dispatch facilities more than the default export keybinds I like using the org dispatch facilities more than the default export keybinds
in Doom, so I need this binding in Doom, so I need this binding