diff options
| -rw-r--r-- | emacs/.emacs.d/init.org | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 4244a2f..f67f424 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -166,39 +166,40 @@ Also install =markdown-indent-mode= which is very much like =org-indent-mode= (b * Org Mode #+begin_src emacs-lisp - (use-package org - :bind (("C-c o c" . org-capture) - ("C-c o a" . org-agenda) - ("C-c o l" . org-store-link) - ("C-c o b" . org-switchb)) - :config - (add-hook 'org-mode-hook 'visual-line-mode) - (add-hook 'org-mode-hook 'org-indent-mode)) + (use-package org + :init (define-key global-map (kbd "C-c o") (make-sparse-keymap)) + :bind (("C-c o c" . org-capture) + ("C-c o a" . org-agenda) + ("C-c o l" . org-store-link) + ("C-c o b" . org-switchb)) + :config + (add-hook 'org-mode-hook 'visual-line-mode) + (add-hook 'org-mode-hook 'org-indent-mode)) - (use-package org-capture - :config - (map-put org-capture-templates "t" - '("A simple TODO item" entry (file "") "* TODO %? + (use-package org-capture + :config + (map-put org-capture-templates "t" + '("A simple TODO item" entry (file "") "* TODO %? :PROPERTIES: :CREATED: %U :END:")) - (map-put org-capture-templates "d" - '("A simple DONE item" entry (file "") "* DONE %? + (map-put org-capture-templates "d" + '("A simple DONE item" entry (file "") "* DONE %? :PROPERTIES: :CREATED: %U :END:")) - (map-put org-capture-templates "n" - '("A simple note" entry (file "") "* Note taken on %U + (map-put org-capture-templates "n" + '("A simple note" entry (file "") "* Note taken on %U :PROPERTIES: :CREATED: %U :END: %?")) - (map-put org-capture-templates "N" - '("A simple note (on current task)" item (clock) "- Note taken on %U: \\\\ + (map-put org-capture-templates "N" + '("A simple note (on current task)" item (clock) "- Note taken on %U: \\\\ %?")) - (map-put org-capture-templates "r" - '("An Operational Request came in" entry (file "") "* TODO Operation Request %^U + (map-put org-capture-templates "r" + '("An Operational Request came in" entry (file "") "* TODO Operation Request %^U :PROPERTIES: :CREATED: %U :END: |
