summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el55
1 files changed, 0 insertions, 55 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
deleted file mode 100644
index e41a170..0000000
--- a/lisp/init-org.el
+++ /dev/null
@@ -1,55 +0,0 @@
-(provide 'my/init-org)
-(eval-after-load "org"
- '(progn
- (setq org-ellipsis "⤵")
- (setq org-src-fontify-natively t)
-
- (global-set-key (kbd "C-c o l") 'org-store-link)
- (global-set-key (kbd "C-c o a") 'org-agenda)
-
- ;; TODO: make these available in org-mode only
- (global-set-key (kbd "C-c o s") 'org-schedule)
- (global-set-key (kbd "C-c o c") 'org-capture)
-
- (setq org-log-done t)
- (setq org-return-follows-link t)
-
- (setq org-directory "~/Documents/org")
- (setq org-agenda-files (mapcar (lambda (x) (concat org-directory x))
- (list "/master.org"
- "/work.org"
- "/study.org"
- "/home.org")))
- (setq org-default-notes-file (concat org-directory "/notes.org"))
-
- (setq org-agenda-custom-commands
- '(("w" todo "WAITING" nil)
- ("n" todo "NEXT" nil)
- ("d" "Agenda + Next Actions" ((agenda) (todo "NEXT")))))
-
- (defun my/modify-org-done-face ()
- (setq org-fontify-done-headline t)
- (set-face-attribute 'org-done nil :strike-through t)
- (set-face-attribute 'org-headline-done nil
- :strike-through t
- :foreground "light gray"))
-
- (require 'org-bullets)
- (add-hook 'org-add-hook 'my/modify-org-done-face)
- (add-hook 'org-mode-hook
- (lambda ()
- (org-bullets-mode 1)
-
- ;; render with variable pitch font (with a few exceptions)
- (variable-pitch-mode 1)
- (dolist (face '(org-block-begin-line
- org-block-end-line
- org-verbatim
- org-block-background))
- (set-face-attribute face nil :inherit 'fixed-pitch))))
-
- (defun gtd ()
- (interactive)
- (find-file (concat org-directory "/master.org")))))
-
-(require 'org)