diff options
author | AChavali <aryadevchavali1@gmail.com> | 2019-12-30 20:54:52 +0000 |
---|---|---|
committer | AChavali <aryadevchavali1@gmail.com> | 2019-12-30 21:00:26 +0000 |
commit | 6804a0159710d7b0fefab93a3e4efc1f34a51923 (patch) | |
tree | 4b4e826bcced44f62dad64951a25e8a4fb2eb7da /doom.d/modules/writers.org | |
parent | 3b3f81095ec70a9c1b4d5298981c4ff7c3947d3c (diff) | |
download | dotfiles-6804a0159710d7b0fefab93a3e4efc1f34a51923.tar.gz dotfiles-6804a0159710d7b0fefab93a3e4efc1f34a51923.tar.bz2 dotfiles-6804a0159710d7b0fefab93a3e4efc1f34a51923.zip |
~moved personal and writers to their own org files
~Moved to their own org files for organisation their own org files
+writers module that uses powersaurus, flyspell and darkroom to help
with producing a writers experience
Diffstat (limited to 'doom.d/modules/writers.org')
-rw-r--r-- | doom.d/modules/writers.org | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/doom.d/modules/writers.org b/doom.d/modules/writers.org new file mode 100644 index 0000000..0523f86 --- /dev/null +++ b/doom.d/modules/writers.org @@ -0,0 +1,54 @@ +#+TITLE: Writers module + +* Thesaurus +#+BEGIN_SRC elisp +(use-package! powerthesaurus + :after-call (pre-command-hook org-mode flyspell-mode) + :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 +(use-package! flyspell + :after-call (pre-command-hook org-mode) + :config + (map! + :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 +(after! org + (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 +** Org calendar +#+BEGIN_SRC elisp +(use-package! org-gcal + :after-call (org-agenda) + :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 |