Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;org-mode
- ;; The following lines are always needed. Choose your own keys.
- (require 'org-install) ;;this is for using downloaded version, i.e. not the one shipped with emacs
- (setq org-M-RET-may-split-line nil)
- (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
- ;;(add-hook 'org-mode-hook 'turn-on-front-lock) ;; not needed when global-font-lock-mode is on
- (define-key global-map "\C-cl" 'org-store-link)
- (define-key global-map "\C-ca" 'org-agenda)
- (define-key global-map "\C-cl" 'org-iswitchb)
- (setq org-log-done t)
- (setq org-agenda-files (list ;;"~/Documents/org/agenda.org"
- "~/Documents/org/studi.org"
- "~/Documents/org/note.org"
- "~/Documents/org/compleanni.org"
- "~/Documents/org/campo.org"
- "~/Documents/org/audio.org"
- "~/Documents/org/computer.org"))
- ;;;capture: only in newer org-mode
- (setq org-default-notes-file "~/Documentes/org/note.org")
- (define-key global-map "\C-cr" 'org-capture)
- ;;refile
- ;; taken from: http://doc.norang.ca/org-mode.html
- ; Targets include this file and any file contributing to the agenda - up to 3 levels deep
- (setq org-refile-targets (quote ((nil :maxlevel . 4)
- (org-agenda-files :maxlevel . 4))))
- ;;org-mobile
- ;; Set to the location of your Org files on your local system
- (setq org-directory "~/Documents/org")
- ;; Set to the name of the file where new notes will be stored
- (setq org-mobile-inbox-for-pull "~/Documents/org/morg-notes.org")
- ;; Set to <your Dropbox root directory>/MobileOrg.
- (setq org-mobile-directory "~/Dropbox/MobileOrg")
- ;;
- ;;(setq org-capture-templates
- ;;'(("t" "Todo" entry (file+headline "~/Documents/org/note.org" "Todo")
- ;;"* TODO %?\n %i\n %a")
- ;;("j" "Journal" entry (file+datetree "~/Documents/org/journal.org")
- ;;"* %?\nEntered on %U\n %i\n %a")))
- ;;
- (setq org-capture-templates
- '(("t" "Todo" entry (file+headline "~/Documents/org/note.org" "Todo")
- "* TODO %?\n %i\n")
- ("i" "Idea" entry (file+headline "~/Documents/org/note.org" "Idee")
- "* %? %^G\n %i\n")
- ("l" "System Log" entry (file+headline "~/Documents/org/computer.org" "Log")
- "* %U %? \n %i\n" :prepend t)
- ("v" "Varie" entry (file+headline "~/Documents/org/note.org" "Varie")
- "* %? %^G\n %i\n")))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement