 (define-key global-map "\C-cr" 'org-remember)
 (define-key global-map "\C-cl" 'org-store-link)
 (define-key global-map "\C-ca" 'org-agenda)
+
+;; man page hooks
+(add-hook 'Man-mode-hook 'delete-other-windows)
 
 ;; dumb jump
 (setq dumb-jump-default-project "~/src")


(desktop-save-mode 1)
(server-start)

(require 'misc)


(setq org-refile-targets '((org-agenda-files . (:maxlevel . 5))))
(setq org-enforce-todo-dependencies t)
(setq org-agenda-dim-blocked-tasks 'invisible)
;; wtf
(defun my-after-load-org ()
  (add-to-list 'org-modules 'org-habit))
(eval-after-load "org" '(my-after-load-org))
(setq org-capture-templates
    '(("t" "Todo" entry (file+headline "~/org/todo.org" "Tasks") "* TODO %?\n")
      ("m" "Meditation log" item (file+headline "~/org/pub/meditation.org" "Practice Log") "- %t: %?\n")
