Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2012
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 2.29 KB | None | 0 0
  1. ;;org-mode
  2. ;; The following lines are always needed.  Choose your own keys.
  3. (require 'org-install) ;;this is for using downloaded version, i.e. not the one shipped with emacs
  4. (setq org-M-RET-may-split-line nil)
  5. (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
  6. ;;(add-hook 'org-mode-hook 'turn-on-front-lock) ;; not needed when global-font-lock-mode is on
  7. (define-key global-map "\C-cl" 'org-store-link)
  8. (define-key global-map "\C-ca" 'org-agenda)
  9. (define-key global-map "\C-cl" 'org-iswitchb)
  10. (setq org-log-done t)
  11. (setq org-agenda-files (list ;;"~/Documents/org/agenda.org"
  12.                  "~/Documents/org/studi.org"
  13.                              "~/Documents/org/note.org"
  14.                              "~/Documents/org/compleanni.org"
  15.                              "~/Documents/org/campo.org"
  16.                              "~/Documents/org/audio.org"
  17.                  "~/Documents/org/computer.org"))
  18.  
  19. ;;;capture: only in newer org-mode
  20. (setq org-default-notes-file "~/Documentes/org/note.org")
  21. (define-key global-map "\C-cr" 'org-capture)
  22.  
  23. ;;refile
  24. ;; taken from: http://doc.norang.ca/org-mode.html
  25. ; Targets include this file and any file contributing to the agenda - up to 3 levels deep
  26. (setq org-refile-targets (quote ((nil :maxlevel . 4)
  27.                                  (org-agenda-files :maxlevel . 4))))
  28.  
  29. ;;org-mobile
  30. ;; Set to the location of your Org files on your local system
  31. (setq org-directory "~/Documents/org")
  32. ;; Set to the name of the file where new notes will be stored
  33. (setq org-mobile-inbox-for-pull "~/Documents/org/morg-notes.org")
  34. ;; Set to <your Dropbox root directory>/MobileOrg.
  35. (setq org-mobile-directory "~/Dropbox/MobileOrg")
  36.  
  37. ;;
  38. ;;(setq org-capture-templates
  39. ;;'(("t" "Todo" entry (file+headline "~/Documents/org/note.org" "Todo")
  40. ;;"* TODO %?\n %i\n %a")
  41. ;;("j" "Journal" entry (file+datetree "~/Documents/org/journal.org")
  42. ;;"* %?\nEntered on %U\n %i\n %a")))
  43. ;;
  44. (setq org-capture-templates
  45. '(("t" "Todo" entry (file+headline "~/Documents/org/note.org" "Todo")
  46. "* TODO %?\n %i\n")
  47. ("i" "Idea" entry (file+headline "~/Documents/org/note.org" "Idee")
  48. "* %? %^G\n %i\n")
  49. ("l" "System Log" entry (file+headline "~/Documents/org/computer.org" "Log")
  50. "* %U %? \n %i\n" :prepend t)
  51. ("v" "Varie" entry (file+headline "~/Documents/org/note.org" "Varie")
  52. "* %? %^G\n %i\n")))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement