2020-08-31 16:57:34 +02:00
|
|
|
;;; wpc-org.el --- My org preferences -*- lexical-binding: t -*-
|
|
|
|
|
2018-04-25 19:26:53 +02:00
|
|
|
;; Author: William Carroll <wpcarro@gmail.com>
|
2020-08-31 16:57:34 +02:00
|
|
|
;; Version: 0.0.1
|
|
|
|
;; Package-Requires: ((emacs "24.1"))
|
|
|
|
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
|
2018-04-25 19:26:53 +02:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;; Hosts my org mode preferences
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2020-01-15 23:13:18 +01:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; Dependencies
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
(require 'f)
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; Configuration
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
2018-04-25 19:26:53 +02:00
|
|
|
(use-package org
|
|
|
|
:config
|
2020-04-01 22:01:49 +02:00
|
|
|
(evil-set-initial-state 'org-mode 'normal)
|
2019-03-20 16:08:56 +01:00
|
|
|
(general-add-hook 'org-mode-hook
|
|
|
|
;; TODO: consider supporting `(disable (list linum-mode company-mode))'
|
|
|
|
(list (disable linum-mode)
|
|
|
|
(disable company-mode)))
|
2019-10-09 13:13:56 +02:00
|
|
|
(setq org-startup-folded nil)
|
2020-04-01 22:01:49 +02:00
|
|
|
(setq org-todo-keywords '((sequence "TODO" "BLOCKED" "DONE")))
|
2019-03-20 16:08:56 +01:00
|
|
|
;; TODO: troubleshoot why `wpc/kbds-minor-mode', `wpc/ensure-kbds' aren't
|
|
|
|
;; enough to override the following KBDs. See this discussion for more context
|
|
|
|
;; on where the idea came from:
|
|
|
|
;; https://stackoverflow.com/questions/683425/globally-override-key-binding-in-emacs
|
|
|
|
(general-unbind 'normal org-mode-map "M-h" "M-j" "M-k" "M-l"))
|
2018-04-25 19:26:53 +02:00
|
|
|
|
|
|
|
(use-package org-bullets
|
2019-01-13 20:33:17 +01:00
|
|
|
:config
|
|
|
|
(general-add-hook 'org-mode-hook (enable org-bullets-mode)))
|
2018-04-25 19:26:53 +02:00
|
|
|
|
|
|
|
(provide 'wpc-org)
|
2019-01-13 20:33:17 +01:00
|
|
|
;;; wpc-org.el ends here
|