diff options
author | odave <aryadevchavali1@gmail.com> | 2020-04-06 15:40:33 +0100 |
---|---|---|
committer | odave <aryadevchavali1@gmail.com> | 2020-04-06 15:40:33 +0100 |
commit | e958997b2252f43e45da097a2bee5d97dc7f7d88 (patch) | |
tree | fe4e63a1f2e13652d14cfd7225944ad5113a7778 /doom.d/org/writers.org | |
parent | 37136fc985607e5c8ddccd4c8d80c3521305c72f (diff) | |
download | dotfiles-e958997b2252f43e45da097a2bee5d97dc7f7d88.tar.gz dotfiles-e958997b2252f43e45da097a2bee5d97dc7f7d88.tar.bz2 dotfiles-e958997b2252f43e45da097a2bee5d97dc7f7d88.zip |
~translated writers.org content into config.org
No point having a separate module for something that is basically part
of the config.
Diffstat (limited to 'doom.d/org/writers.org')
-rw-r--r-- | doom.d/org/writers.org | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/doom.d/org/writers.org b/doom.d/org/writers.org deleted file mode 100644 index bc4f9b9..0000000 --- a/doom.d/org/writers.org +++ /dev/null @@ -1,55 +0,0 @@ -#+TITLE: Writers module - -* Thesaurus -#+BEGIN_SRC elisp -(use-package! powerthesaurus - :after-call (org-mode) - :defer-incrementally (org) - :config - (map! - :localleader - :map org-mode-map - :prefix "w" - :desc "Thesaurus" "t" #'powerthesaurus-lookup-word-at-point)) -#+END_SRC -Powerthesaurus for thesaurus on writer files -* Spelling checker -#+BEGIN_SRC elisp -(map! - :after (flyspell org) - :localleader - :map org-mode-map - :prefix "w" - :desc "Correct current word" "c" #'flyspell-correct-at-point - :desc "Autocorrect word" "a" #'flyspell-auto-correct-word - :desc "Goto next error" "w" #'flyspell-goto-next-error) -#+END_SRC -* Org -** Org -#+BEGIN_SRC elisp -(setq org-directory "~/Text" - org-agenda-files '("~/Text/")) -(map! ; Org keybinds - :after org - :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 -** Org calendar -#+BEGIN_SRC elisp -(use-package! org-gcal - :after-call (org-agenda +calendar-open-function) - :hook (org-agenda-mode-hook calendar-load-hook) - :config - (setq org-gcal-client-id (password-store-get "GoogleCalendar/id")) - (setq org-gcal-client-secret (password-store-get "GoogleCalendar/secret")) - (setq org-gcal-file-alist '(("aryadevchavali1@gmail.com" . "~/Text/schedule.org")))) -#+END_SRC |