Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (use-package org
- :ensure t
- ;:pin org
- :config
- '(org-directory "~/sync/orgfiles")
- '(org-default-notes-file (concat org-directory "~/sync/orgfiles/notes.org.gpg"))
- '(org-export-html-postamble nil)
- '(org-hide-leading-stars t)
- '(org-startup-indented t)
- '(org-journal-dir "~/sync/orgfiles")
- '(org-agenda-files (list "~/sync/orgfiles/personal_cal.org.gpg" "~/sync/orgfiles/work_cal.org.gpg"))
- '(org-display-inline-images t)
- '(org-redisplay-inline-images t)
- '(org-startup-with-inline-images "inlineimages")
- '(set-default 'preview-scale-function 2.0)
- (setq org-todo-keywords
- '((sequence "TODO(t)" "PENDING(p!)" "WAIT(w@)" "VERIFY(v)" "|" "DONE(d!)" "CANCELED(c@)")
- (sequence "REPORT(r@)" "BUG(b@)" "KNOWNCAUSE(k@)" "|" "FIXED(f!)")))
- (add-hook 'org-mode-hook (lambda ()
- (setq truncate-lines nil)
- (visual-line-mode)
- (org-ident-mode)))
- ;; (global-set-key (kbd "C-c l")
- ;; (lambda () (interactive) (find-file "~/sync/orgfiles/life.org.gpg")))
- (add-hook 'org-mode-hook #'toggle-word-wrap)
- (add-hook 'org-babel-after-execute-hook 'org-redisplay-inline-images)
- (defun do-org-show-all-inline-images ()
- (interactive)
- (org-display-inline-images t t))
- (global-set-key (kbd "C-c C-x C v")
- 'do-org-show-all-inline-images)
- (require 'ox-reveal))
- (use-package org-gcal
- :init (load-library "~/.gcal.el.gpg")
- :config (setq org-gcal-file-alist '(("maximoiann@gmail.com" . "~/sync/orgfiles/personal_cal.org")
- ("ian@crowd.br.com" . "~/sync/orgfiles/work_cal.org"))))
- (use-package org-bullets
- :ensure t
- :config
- (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
- (setq org-reveal-root "file:///home/ianffcs/reveal.js")
- (setq org-file-apps
- (append '(
- ("\\.pdf\\'" . "evince %s")
- ("\\.x?html?\\'" . "/usr/bin/chromium-browser %s")) org-file-apps))
- (require 'org-crypt)
- (org-crypt-use-before-save-magic)
- (setq org-tags-exclude-from-inheritance (quote ("crypt")))
- ;; GPG key to use for encryption
- ;; Either the Key ID or set to nil to use symmetric encryption.
- (setq org-crypt-key "9CD4DA20")
- (use-package org-web-tools
- :ensure t)
- (use-package org-journal
- :ensure t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement