|
|
|
|
@ -350,16 +350,18 @@ |
|
|
|
|
#+END_SRC |
|
|
|
|
* Main major modes |
|
|
|
|
** TODO org-mode |
|
|
|
|
*** Hooks |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(add-hook 'org-mode-hook (lambda () |
|
|
|
|
(turn-on-auto-fill))) |
|
|
|
|
#+END_SRC |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
|
|
|
|
|
(require 'org-install) |
|
|
|
|
(require 'org-pomodoro) |
|
|
|
|
|
|
|
|
|
(setq org-agenda-files |
|
|
|
|
' ("~/org/notes.org" "~/org/orgzly/work.org" "~/org/orgzly/hack.org" "~/org/orgzly/live.org" "~/org/orgzly/refile.org")) |
|
|
|
|
|
|
|
|
|
(add-hook 'org-mode-hook (lambda () |
|
|
|
|
(turn-on-auto-fill))) |
|
|
|
|
(setq org-default-notes-file "~/org/notes.org") |
|
|
|
|
(global-set-key (kbd "C-c a") 'org-agenda) |
|
|
|
|
(global-set-key (kbd "C-c c") 'org-capture) |
|
|
|
|
@ -401,7 +403,6 @@ |
|
|
|
|
;; Clock out when moving task to a done state |
|
|
|
|
(setq org-clock-out-when-done t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(setq org-agenda-custom-commands |
|
|
|
|
'(("h" "Agenda and Android tasks" |
|
|
|
|
((agenda "") |
|
|
|
|
|