mirror of https://github.com/Flinner/dots.git
feat: org captures -> gtd
This commit is contained in:
parent
db2a8899b0
commit
cc7e22a0a9
|
@ -294,6 +294,10 @@ Edit: honestly I have no clue wtf that meant, or why I wrote it, but I will keep
|
||||||
(defun my/keybind/config ()
|
(defun my/keybind/config ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(counsel-find-file "emacs" "~/.config/"))
|
(counsel-find-file "emacs" "~/.config/"))
|
||||||
|
|
||||||
|
(defun my/keybind/capture-inbox ()
|
||||||
|
(interactive)
|
||||||
|
(org-capture nil "gi"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** leader-keys
|
*** leader-keys
|
||||||
|
@ -354,7 +358,7 @@ Edit: honestly I have no clue wtf that meant, or why I wrote it, but I will keep
|
||||||
"fD" '(dired-jump :which-key "dired current")
|
"fD" '(dired-jump :which-key "dired current")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Roam and Org (r/C)
|
**** Roam and Org, Capture, Inbox(r/C/I)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
"r" '(:ignore t :which-key "Roam+Org")
|
"r" '(:ignore t :which-key "Roam+Org")
|
||||||
|
|
||||||
|
@ -398,6 +402,7 @@ Edit: honestly I have no clue wtf that meant, or why I wrote it, but I will keep
|
||||||
Capture
|
Capture
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
"C" '(org-capture :which-key "Org-Capture")
|
"C" '(org-capture :which-key "Org-Capture")
|
||||||
|
"I" '(my/keybind/capture-inbox :which-key "Capture Inbox")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Open (o)
|
**** Open (o)
|
||||||
|
@ -815,11 +820,12 @@ dep for =org-books=
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-directory "~/Documents/gtd/"
|
(setq org-directory "~/Documents/gtd/"
|
||||||
org-roam-directory "~/Documents/roam/"
|
org-roam-directory "~/Documents/roam/"
|
||||||
org-agenda-files (list org-directory (concat org-roam-directory "life.org"))
|
org-agenda-files (list org-directory)
|
||||||
rmh-elfeed-org-files (list "~/Documents/private.el/elfeed.org")
|
rmh-elfeed-org-files (list "~/Documents/private.el/elfeed.org")
|
||||||
elfeed-dashboard-file "~/Documents/private.el/elfeed-dashboard.org"
|
elfeed-dashboard-file "~/Documents/private.el/elfeed-dashboard.org"
|
||||||
org-preview-latex-image-directory "~/.cache/ltx/ltximg"
|
org-preview-latex-image-directory "~/.cache/ltx/ltximg"
|
||||||
org-my-anki-file (concat org-roam-directory "anki.org")
|
org-my-anki-file (concat org-roam-directory "anki.org")
|
||||||
|
org-refile-targets (list (concat org-directory "tasks.org"))
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -903,6 +909,7 @@ Templates
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** COMMENT Visual Fill (center)
|
*** COMMENT Visual Fill (center)
|
||||||
|
I know use olivetti mode, this code block is ignored!
|
||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
(defun my/org-mode/org-mode-visual-fill ()
|
(defun my/org-mode/org-mode-visual-fill ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
@ -980,7 +987,7 @@ Allow fast code insertion
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
(doct `(("Consume: Read/watch" :keys "c"
|
(doct `(("Consume: Read/watch" :keys "c"
|
||||||
:file ,(concat org-directory "todo.org")
|
:file ,(concat org-directory "inbox.org")
|
||||||
:prepend t
|
:prepend t
|
||||||
:template ("* %{todo-state} %^{Description}"
|
:template ("* %{todo-state} %^{Description}"
|
||||||
":PROPERTIES:"
|
":PROPERTIES:"
|
||||||
|
@ -994,7 +1001,7 @@ Allow fast code insertion
|
||||||
:headline "Watch"
|
:headline "Watch"
|
||||||
:todo-state "TODO")))
|
:todo-state "TODO")))
|
||||||
("Ideas" :keys "i"
|
("Ideas" :keys "i"
|
||||||
:file ,(concat org-directory "todo.org")
|
:file ,(concat org-directory "inbox.org")
|
||||||
:prepend t
|
:prepend t
|
||||||
:template ("* %{todo-state} %^{Description}"
|
:template ("* %{todo-state} %^{Description}"
|
||||||
":PROPERTIES:"
|
":PROPERTIES:"
|
||||||
|
@ -1010,17 +1017,17 @@ Allow fast code insertion
|
||||||
("placeholder" :keys "w"
|
("placeholder" :keys "w"
|
||||||
:headline "Watch"
|
:headline "Watch"
|
||||||
:todo-state "TODO")))
|
:todo-state "TODO")))
|
||||||
("GTD" :keys "t"
|
("GTD" :keys "g"
|
||||||
:file ,(concat org-directory "todo.org")
|
:file ,(concat org-directory "inbox.org")
|
||||||
:prepend t
|
:prepend t
|
||||||
:template ("* %{todo-state} %^{Description}"
|
:template ("* %{todo-state} %^{Description}"
|
||||||
":PROPERTIES:"
|
":PROPERTIES:"
|
||||||
":Created: %U"
|
":Created: %U"
|
||||||
":END:"
|
":END:"
|
||||||
"%?")
|
"%?")
|
||||||
:children (("distraction" :keys "d"
|
:children (("Inbox" :keys "i"
|
||||||
:headline "Distraction"
|
:headline "Inbox"
|
||||||
:todo-state "TODO")
|
:todo-state "")
|
||||||
("placeholder" :keys "w"
|
("placeholder" :keys "w"
|
||||||
:headline "Watch"
|
:headline "Watch"
|
||||||
:todo-state "TODO"))))))
|
:todo-state "TODO"))))))
|
||||||
|
@ -1043,13 +1050,11 @@ From: https://yiufung.net/post/anki-org/
|
||||||
(delete-other-windows))
|
(delete-other-windows))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Agenda
|
** Agenda
|
||||||
*** T/ODOs
|
*** T/ODOs
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)")
|
(setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)")
|
||||||
(sequence "BACKLOG(b)" "STARTED(s)" "WAITING(w)" "|")
|
(sequence "BACKLOG(b)" "STARTED(s)" "WAITING(w)" "|")
|
||||||
(sequence "CLASS(l)" "|" "FUN(f)" )
|
|
||||||
(sequence "|" "CANCELED(c)")))
|
(sequence "|" "CANCELED(c)")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -1210,11 +1215,12 @@ From: https://yiufung.net/post/anki-org/
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** org-download
|
** org-download and clip-link
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-download
|
(use-package org-download
|
||||||
:after org
|
:after org)
|
||||||
)
|
(use-package org-cliplink
|
||||||
|
:after org)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** org-book
|
** org-book
|
||||||
|
|
Loading…
Reference in New Issue