(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes (quote (tsdh-dark)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) ;; org-mode ;; key settings (global-set-key "\C-ca" 'org-agenda) (global-set-key (kbd "") 'org-capture) (setq org-directory "C:\\Users\\micha\\Dropbox\\org") (setq org-agenda-files (list "C:\\Users\\micha\\Dropbox\\org\\notes.org")) ;;log quick notes into :LOGBOOK: (setq org-log-into-drawer t) ;;don't show startup screen (setq inhibit-startup-screen t) ;;capture (setq org-default-notes-file (concat org-directory "/notes.org")) (define-key global-map "\C-cc" 'org-capture) ;;(setq org-capture-templates ;; '(("t" "Todo" entry (file "C:\\Users\\micha\\Dropbox\\org\\notes.org") ;; "* TODO %?\n%U" :empty-lines 1) ;; ("T" "Todo with Clipboard" entry (file "C:\\Users\\micha\\Dropbox\\org\\notes.org") ;; "* TODO %?\n%U\n %c" :empty-lines 1) ;; ("n" "Note" entry (file "C:\\Users\\micha\\Dropbox\\org\\notes.org") ;; "* NOTE %?\n%U" :empty-lines 1) ;; ("N" "Note with Clipboard" entry (file "C:\\Users\\micha\\Dropbox\\org\\notes.org") ;; "* NOTE %?\n%U\n %c" :empty-lines 1) ;; ("e" "Event" entry (file+headline "C:\\Users\\micha\\Dropbox\\org\\events.org" "Transient") ;; "* EVENT %?\n%U" :empty-lines 1) ;; ("E" "Event With Clipboard" entry (file+headline "C:\\Users\\micha\\Dropbox\\org\\events.org" "Transient") ;; "* EVENT %?\n%U\n %c" :empty-lines 1)) ;; ) ;; Capture templates for: TODO tasks, Notes, appointments, phone calls, meetings, and org-protocol (setq org-capture-templates (quote (("t" "todo" entry (file "refile.org") "* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t) ("r" "respond" entry (file "refile.org") "* NEXT Respond to %:from on %:subject\nSCHEDULED: %t\n%U\n%a\n" :clock-in t :clock-resume t :immediate-finish t) ("n" "note" entry (file "refile.org") "* %? :NOTE:\n%U\n%a\n" :clock-in t :clock-resume t) ("j" "Journal" entry (file+datetree "diary.org") "* %?\n%U\n" :clock-in t :clock-resume t) ("w" "org-protocol" entry (file "refile.org") "* TODO Review %c\n%U\n" :immediate-finish t) ("m" "Meeting" entry (file+datetree "meetings.org") "* MEETING with %? :MEETING:\n%U" :clock-in t :clock-resume t) ("p" "Phone call" entry (file "phonecalls.org") "* PHONE %? %U :PHONE:\n%U" :clock-in t :clock-resume t) ;; bits notes ("h" "Habit" entry (file "refile.org") "* NEXT %?\n%U\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n"))))