Tweak the org-mode config a bit

This commit is contained in:
Bozhidar Batsov 2020-11-26 12:38:30 +02:00
parent 0b7b0853a1
commit 277cd63119

View file

@ -30,10 +30,15 @@
;;; Code: ;;; Code:
(require 'org-mode)
(add-to-list 'auto-mode-alist '("\\.org\\" . org-mode)) (add-to-list 'auto-mode-alist '("\\.org\\" . org-mode))
;; a few useful global keybindings for org-mode
(global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-switchb) (global-set-key "\C-cb" 'org-switchb)
(setq org-log-done t) (setq org-log-done t)
(defun prelude-org-mode-defaults () (defun prelude-org-mode-defaults ()