summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el70
1 files changed, 35 insertions, 35 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 0285f2f..e3fa822 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -3,20 +3,7 @@
;; 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.
- '(ledger-reports
- (quote
- (("test" "ledger bal")
- ("bal" "%(binary) -f %(ledger-file) bal")
- ("reg" "%(binary) -f %(ledger-file) reg")
- ("payee" "%(binary) -f %(ledger-file) reg @%(payee)")
- ("account" "%(binary) -f %(ledger-file) reg %(account)"))))
- '(org-agenda-files
- (quote
- ("/home/blaise/org/agenda.org" "/home/blaise/org/anniversaries.org" "/home/blaise/org/repeat.org" "/home/blaise/org/todo.org" "/home/blaise/org/projects/")))
- '(package-selected-packages
- (quote
- (exec-path-from-shell ledger-mode evil-ledger ## ledger-import treemacs-evil treemacs avy move-text es-lib helm-flyspell flycheck which-key helm-swoop evil-leader helm spaceline evil use-package)))
- '(send-mail-function (quote sendmail-send-it)))
+)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@@ -115,26 +102,17 @@
)
(setq org-todo-keywords '((sequence "TODO" "WAITING" "|" "DONE" "DELEGATED" "CANCELED")))
(setq org-tags-column -99)
-(use-package org-brain
- :ensure t
- :init
- (setq org-brain-path "~/brain")
- ;; For Evil users
- (with-eval-after-load 'evil
- (evil-set-initial-state 'org-brain-visualize-mode 'emacs))
- :config
- (setq org-id-track-globally t)
- (setq org-id-locations-file "~/.emacs.d/.org-id-locations")
- (setq org-brain-visualize-default-choices 'all)
- (setq org-brain-title-max-length 12)
- (setq org-agenda-files '("~/org/"))
- (setq org-agenda-span 1)
- (setq org-agenda-start-with-log-mode t)
- (setq org-agenda-start-day "0d")
- (setq org-agenda-window-setup 'only-window)
- (setq org-clock-mode-line-total 'today)
- (setq org-duration-format (quote h:mm))
- )
+(setq org-id-track-globally t)
+(setq org-id-locations-file "~/.emacs.d/.org-id-locations")
+(setq org-brain-visualize-default-choices 'all)
+(setq org-brain-title-max-length 12)
+(setq org-agenda-files '("~/org/"))
+(setq org-agenda-span 1)
+(setq org-agenda-start-with-log-mode t)
+(setq org-agenda-start-day "0d")
+(setq org-agenda-window-setup 'only-window)
+(setq org-clock-mode-line-total 'today)
+(setq org-duration-format (quote h:mm))
(setq org-agenda-prefix-format '(
(agenda . "%i %-12.12:c %?-12t %s") ;; file name + org-agenda-entry-type
(timeline . " % s")
@@ -142,7 +120,29 @@
(tags . " %i %-12:c")
(search . " %i %-12:c")
)
-)
+ )
+(load "~/source/dotfiles/emacs/org-contacts.el")
+(use-package org-contacts
+ :ensure nil
+ :after org
+ :custom (org-contacts-files '("~/org/contacts.org"))
+ )
+(use-package org-capture
+ :ensure nil
+ :after org
+ :preface
+ (defvar my/org-contacts-template "* %(org-contacts-template-name)
+:PROPERTIES:
+:ADDRESS:
+:EMAIL:
+:PHONE:
+:NOTE:
+:END:" "Template for org-contacts.")
+ :custom
+ (org-capture-templates
+ `(("c" "Contact" entry (file "~/org/contacts.org"),
+ my/org-contacts-template
+ :empty-lines 0))))
;; spaceline
(use-package spaceline :ensure t)