~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,7 +323,8 @@ 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")
(setq org-directory "~/Text")
(map! ; Org keybinds (map! ; Org keybinds
:map org-mode-map :map org-mode-map
:localleader :localleader
@@ -336,7 +333,7 @@ Function to quickly check weather, which is what I wanted wttrin for.
(:prefix ("N" . "+narrow") (:prefix ("N" . "+narrow")
:desc "Narrow to subtree" "n" #'org-narrow-to-subtree :desc "Narrow to subtree" "n" #'org-narrow-to-subtree
:desc "Go out of narrow" "o" #'widen :desc "Go out of narrow" "o" #'widen
:desc "Narrow tags" "t" #'org-tags-sparse-tree))) :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