Skip to content

Instantly share code, notes, and snippets.

@ChasManRors
Created March 12, 2012 21:04
Show Gist options
  • Save ChasManRors/2024671 to your computer and use it in GitHub Desktop.
Save ChasManRors/2024671 to your computer and use it in GitHub Desktop.
;; http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html
;; allow this prefix for org-mode
(define-key global-map "\C-ca" 'org-agenda)
(define-key global-map "\C-cl" 'org-store-link)
(setq org-log-done t)
(setq org-agenda-files (list
"~/GTD/newgtd.org"
"~/GTD/someday.org"
"~/GTD/journal.org"
"~/GTD/birthday.org"
))
(setq org-agenda-custom-commands
'(("H" "Office and Home Lists"
((agenda)
(tags-todo "OFFICE")
(tags-todo "HOME")
(tags-todo "COMPUTER")
(tags-todo "DVD")
(tags-todo "READING")))
("D" "Daily Action List"
(
(agenda "" ((org-agenda-ndays 1)
(org-agenda-sorting-strategy
(quote ((agenda time-up priority-down tag-up) )))
(org-deadline-warning-days 0)
))))
("o" "Agenda and Office-related tasks"
((agenda "")
(tags-todo "work")
(tags "office")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment