Created
March 30, 2016 05:28
-
-
Save Anks/fe14bb5b3c728741cd729b7f74aeb8f3 to your computer and use it in GitHub Desktop.
org-mode setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Directory / File setup | |
(setq org-directory "~/Dropbox/org") | |
(setq org-default-notes-file "~/Dropbox/org/notes.org") | |
(setq org-archive-location "~/Dropbox/org/.archive") | |
(setq org-agenda-files (list org-directory)) | |
;;; Configure org-capture | |
(setq org-capture-templates | |
'(("t" "Todo" entry (file+headline "~/Dropbox/org/notes.org" "Tasks") | |
"* TODO %?\n %i\n SCHEDULED %t") | |
("j" "Journal" entry (file+datetree "~/Dropbox/org/journal.org") | |
"* %?\nEntered on %U\n %i\n %a"))) | |
;;; Key Bindings | |
(global-set-key "\C-cc" 'org-capture) | |
(global-set-key "\C-cl" 'org-store-link) | |
(global-set-key "\C-ca" 'org-agenda) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment