emacs - Org capture
This commit is contained in:
parent
7a917e5838
commit
b4f3cbc87c
1 changed files with 9 additions and 2 deletions
|
@ -206,8 +206,15 @@
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(setq org-directory "~/org")
|
(setq org-directory "~/org/")
|
||||||
(setq org-agenda-files "~/org/agenda")
|
(setq org-agenda-files (concat org-directory "agenda"))
|
||||||
|
(setq org-default-notes-file (concat org-directory "notes.org"))
|
||||||
|
(global-set-key (kbd "C-c c") 'org-capture)
|
||||||
|
(setq org-capture-templates
|
||||||
|
'( ("t" "Todo" entry (file+headline org-default-notes-file "Todos")
|
||||||
|
"* TODO %U %?\n ")
|
||||||
|
("f" "Fix me" entry (file+headline "~/org/fixmes.org" "Fixmes")
|
||||||
|
"* TODO %?\n %a\n %i") ))
|
||||||
(global-set-key (kbd "<f12>") 'my/counsel-org-agenda)
|
(global-set-key (kbd "<f12>") 'my/counsel-org-agenda)
|
||||||
(setq org-todo-keywords '((sequence "TODO" "WORKING" "BLOCKED" "REVIEW" "|" "ABANDONED" "DONE")))
|
(setq org-todo-keywords '((sequence "TODO" "WORKING" "BLOCKED" "REVIEW" "|" "ABANDONED" "DONE")))
|
||||||
(setq org-todo-keyword-faces
|
(setq org-todo-keyword-faces
|
||||||
|
|
Loading…
Reference in a new issue