Move tasks and inbox files into roam directory

Adjust org and org-roam keybinds

Remove flyspell-correct package
This commit is contained in:
Evie Litherland-Smith 2024-09-12 13:53:23 +01:00
parent 2006bd98f3
commit 60c816ae47
2 changed files with 10 additions and 21 deletions

View file

@ -691,13 +691,6 @@ Configure email with iCalendar event support, to integrate with
:init :init
(require 'ispell)) (require 'ispell))
(add-to-list 'package-selected-packages 'flyspell-correct)
(use-package flyspell-correct
:if (package-installed-p 'flyspell-correct)
:after flyspell
:bind ( :map flyspell-mode-map
("C-;" . flyspell-correct-wrapper)))
(use-package ibuffer (use-package ibuffer
:defines ibuffer-filter-groups :defines ibuffer-filter-groups
:bind (("C-c b" . ibuffer))) :bind (("C-c b" . ibuffer)))
@ -824,9 +817,9 @@ Configure email with iCalendar event support, to integrate with
("<remap> <org-goto>" . consult-org-heading)) ("<remap> <org-goto>" . consult-org-heading))
:custom :custom
(org-directory "~/Documents/org") (org-directory "~/Documents/org")
(org-default-notes-file (expand-file-name "notes.org" org-directory)) (org-default-notes-file (expand-file-name "roam/inbox.org" org-directory))
(org-archive-location (concat (expand-file-name "archive.org" org-directory) "::datetree/")) (org-archive-default-command #'org-archive-to-archive-sibling)
(org-hide-emphasis-markers t) (org-hide-emphasis-markers nil)
(org-use-sub-superscripts '{}) (org-use-sub-superscripts '{})
(org-pretty-entities t) (org-pretty-entities t)
(org-pretty-entities-include-sub-superscripts t) (org-pretty-entities-include-sub-superscripts t)
@ -915,10 +908,10 @@ Configure email with iCalendar event support, to integrate with
(use-package org-capture (use-package org-capture
:after org :after org
:bind (("C-c n" . org-capture)) :bind (("C-c n n" . org-capture))
:custom (org-capture-templates :custom (org-capture-templates
'(("t" "TODO" entry '(("t" "TODO" entry
(file+olp "tasks.org" "Inbox") (file+olp "roam/tasks.org" "Inbox")
"* TODO %?\nDEADLINE: %t\n %i\n %a") "* TODO %?\nDEADLINE: %t\n %i\n %a")
("#" "used by gnus-icalendar-org" entry ("#" "used by gnus-icalendar-org" entry
(file+olp "calendar/email.org" "Inbox") (file+olp "calendar/email.org" "Inbox")
@ -932,14 +925,11 @@ Configure email with iCalendar event support, to integrate with
:after org :after org
:defines org-roam-directory :defines org-roam-directory
:functions org-roam-db-autosync-mode :functions org-roam-db-autosync-mode
:bind (("C-c r i" . org-roam-node-insert) :bind-keymap ("C-c n d" . org-roam-dailies-map)
("C-c r f" . org-roam-node-find) :bind (("C-c n r" . org-roam-capture)
("C-c r n" . org-roam-capture) ("C-c n f" . org-roam-node-find)
("C-c r j" . org-roam-dailies-capture-today)
("M-g j" . org-roam-dailies-goto-today)
("M-g C-j" . org-roam-dailies-goto-date)
:map org-mode-map :map org-mode-map
("C-c r b" . org-roam-buffer-toggle)) ("C-c n l" . org-roam-buffer-toggle))
:custom :custom
(org-roam-directory (expand-file-name "roam" org-directory)) (org-roam-directory (expand-file-name "roam" org-directory))
(org-roam-completion-everywhere nil) (org-roam-completion-everywhere nil)

View file

@ -100,7 +100,7 @@ text-mode
org-mode org-mode
(title "#+title: " p n "#+author: " p n "#+email: " p n "#+language: en") (title "#+title: " p n "#+author: " p n "#+email: ")
(babel "#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent") (babel "#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent")
(caption "#+caption: ") (caption "#+caption: ")
(drawer ":" p ":" n r ":end:") (drawer ":" p ":" n r ":end:")
@ -118,7 +118,6 @@ org-mode
(src "#+begin_src " q n r n "#+end_src") (src "#+begin_src " q n r n "#+end_src")
(gnuplot "#+begin_src gnuplot :var data=" (p "table") " :file " (p "plot.png") n r n "#+end_src" :post (org-edit-src-code)) (gnuplot "#+begin_src gnuplot :var data=" (p "table") " :file " (p "plot.png") n r n "#+end_src" :post (org-edit-src-code))
(elisp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code)) (elisp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code))
(inlsrc "src_" p "{" q "}")
nix-mode nix-mode