diff options
author | Case Duckworth | 2021-01-13 19:54:36 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-13 19:54:36 -0600 |
commit | 425f39ffc6dba3832e8dfc165708845849f755b5 (patch) | |
tree | b2431d0b30390310ef4651e7fd3a4577c0c7eac6 | |
parent | Tweak Org (diff) | |
download | emacs-425f39ffc6dba3832e8dfc165708845849f755b5.tar.gz emacs-425f39ffc6dba3832e8dfc165708845849f755b5.zip |
Configure org-capture
-rw-r--r-- | config.org | 89 |
1 files changed, 88 insertions, 1 deletions
diff --git a/config.org b/config.org index 928f953..978e11b 100644 --- a/config.org +++ b/config.org | |||
@@ -1812,7 +1812,94 @@ from [[https://github.com/mpereira/.emacs.d#align-all-tags-in-the-buffer-on-tag- | |||
1812 | "Save CLOSED timestamp when done.") | 1812 | "Save CLOSED timestamp when done.") |
1813 | #+end_src | 1813 | #+end_src |
1814 | 1814 | ||
1815 | *** TODO Capture | 1815 | *** Capture |
1816 | |||
1817 | **** Templates | ||
1818 | |||
1819 | #+begin_src emacs-lisp | ||
1820 | (cuss org-default-notes-file (expand-file-name "inbox.org" | ||
1821 | org-directory) | ||
1822 | "Put unfiled notes in ~/Org/inbox.org.") | ||
1823 | |||
1824 | |||
1825 | (cuss org-capture-templates | ||
1826 | '(("w" "Work Todo") ;;; Work stuff | ||
1827 | ("ws" "Small Business" entry | ||
1828 | (file+headline "work.org" "Small Business") | ||
1829 | "* TODO %? | ||
1830 | :PROPERTIES: | ||
1831 | :Via: | ||
1832 | :Note: | ||
1833 | :END: | ||
1834 | :LOGBOOK: | ||
1835 | - State \"TODO\" from \"\" %U | ||
1836 | :END:" :empty-lines 1) | ||
1837 | ("wc" "Career Center" entry | ||
1838 | (file+headline "work.org" "Career Center") | ||
1839 | "* TODO %? | ||
1840 | :PROPERTIES: | ||
1841 | :Via: | ||
1842 | :Note: | ||
1843 | :END: | ||
1844 | :LOGBOOK: | ||
1845 | - State \"TODO\" from \"\" %U | ||
1846 | :END:" :empty-lines 1) | ||
1847 | ("wg" "General" entry | ||
1848 | (file+headline "work.org" "General") | ||
1849 | "* TODO %? | ||
1850 | :PROPERTIES: | ||
1851 | :Via: | ||
1852 | :Note: | ||
1853 | :END: | ||
1854 | :LOGBOOK: | ||
1855 | - State \"TODO\" from \"\" %U | ||
1856 | :END:" :empty-lines 1) | ||
1857 | |||
1858 | ;;; Regular To-Dos | ||
1859 | ("t" "Todo") | ||
1860 | ("tt" "Todo" entry | ||
1861 | (file+headline "home.org" "TODOs") | ||
1862 | "* TODO %? | ||
1863 | :PROPERTIES: | ||
1864 | :Via: | ||
1865 | :Note: | ||
1866 | :END: | ||
1867 | :LOGBOOK: | ||
1868 | - State \"TODO\" from \"\" %U | ||
1869 | :END:" :empty-lines 1) | ||
1870 | |||
1871 | ("td" "Todo with deadline" entry | ||
1872 | (file+headline "home.org" "TODOs") | ||
1873 | "* TODO %? | ||
1874 | DEADLINE: %^t | ||
1875 | :PROPERTIES: | ||
1876 | :Via: | ||
1877 | :Note: | ||
1878 | :END: | ||
1879 | :LOGBOOK: | ||
1880 | - State \"TODO\" from \"\" %U | ||
1881 | :END:" :empty-lines 1) | ||
1882 | |||
1883 | |||
1884 | ("g" "Gift idea" entry | ||
1885 | (file+headline "home.org" "Gift ideas") | ||
1886 | "* %^{Who?} | ||
1887 | ,* %^{What?}" :empty-lines 1) | ||
1888 | |||
1889 | ("d" "Diary entry" entry | ||
1890 | (file+datetree "diary.org") | ||
1891 | "* %? | ||
1892 | Entered on %U | ||
1893 | |||
1894 | " :empty-lines 1))) | ||
1895 | #+end_src | ||
1896 | |||
1897 | **** Keybindings | ||
1898 | |||
1899 | #+begin_src emacs-lisp | ||
1900 | (with-eval-after-load 'org-capture | ||
1901 | (define-key acdw/map (kbd "C-c") #'org-capture)) | ||
1902 | #+end_src | ||
1816 | 1903 | ||
1817 | *** Include Org links in source code | 1904 | *** Include Org links in source code |
1818 | 1905 | ||