aboutsummaryrefslogtreecommitdiff
path: root/doom.d/config.org
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-30 13:08:36 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-30 13:08:36 +0000
commit3159dd93e7707e7b3e2c9f803913fd8e8f8f6325 (patch)
tree77e28d3ed69c6b3e1a7efbb4aa71c8ca0ffe7c42 /doom.d/config.org
parent0840012fc1eabc1660b58802bf1e53dfe2420a3d (diff)
downloaddotfiles-3159dd93e7707e7b3e2c9f803913fd8e8f8f6325.tar.gz
dotfiles-3159dd93e7707e7b3e2c9f803913fd8e8f8f6325.tar.bz2
dotfiles-3159dd93e7707e7b3e2c9f803913fd8e8f8f6325.zip
~moved org stuff into its own section
Diffstat (limited to 'doom.d/config.org')
-rw-r--r--doom.d/config.org25
1 files changed, 11 insertions, 14 deletions
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