[Org] Restructuring config

This commit is contained in:
Daniel - 2017-08-12 10:53:07 +02:00
parent 16a13aa6e5
commit e513c6e30c
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 9 additions and 10 deletions

19
init.el
View File

@ -435,24 +435,23 @@
;; * Org Mode
(use-package org
:mode (("\\.org\\'" . org-mode))
:commands (org-agenda
org-capture
org-store-link
db/export-diary
org-clock-save
org-clock-save)
:config (progn
(require 'db-org)
(bind-key [remap org-return] 'org-return-indent org-mode-map)
(org-clock-persistence-insinuate)))
(use-package db-org
:commands (db/export-diary
db/org-agenda-to-appt
hydra-org-clock/body)
:config (progn
(bind-key [remap org-return] 'org-return-indent org-mode-map)
(use-package db-org)
;; avoid important buffers to end up in `org-agenda-new-buffers by
;; opening them manually
(mapc #'find-file-noselect org-agenda-files)
(org-clock-persistence-insinuate)))
(mapc #'find-file-noselect org-agenda-files)))
(use-package org-ref
:config (progn