diff --git a/bundle/bundle--org.el b/bundle/bundle--org.el index cc523a97..3e517517 100644 --- a/bundle/bundle--org.el +++ b/bundle/bundle--org.el @@ -6,6 +6,14 @@ (use-package ox-reveal) (use-package org + :ensure nil + :hook (org-mode . turn-on-auto-fill) + :init (org-clock-persistence-insinuate) + :bind + (("C-c l" . org-store-link) + ("C-c a" . org-agenda) + ("C-c c" . org-capture) + ("C-c b" . org-switchb)) :init (org-babel-lob-ingest "~/.emacs.d/library-of-babel.org") :custom @@ -194,11 +202,3 @@ Excludes the heading and any child subtrees." most-positive-fixnum)))) (message "Copied: %s" contents) (kill-new contents))))) - -(add-hook 'org-mode-hook 'turn-on-auto-fill) - -(global-set-key (kbd "C-c l") 'org-store-link) -(global-set-key (kbd "C-c a") 'org-agenda) -(global-set-key (kbd "C-c c") 'org-capture) -(global-set-key (kbd "C-c b") 'org-switchb) -(org-clock-persistence-insinuate)