Emacs: Insert org-mode heading after current entry instead of splitting

master
Pierre Neidhardt 2017-06-03 11:44:50 +01:00
parent 9a0a208db0
commit ae6fe9dd77
1 changed files with 10 additions and 9 deletions

View File

@ -1,24 +1,25 @@
;; Org mode config.
;;; Org mode
(local-set-key (kbd "C-c C-a") 'org-agenda)
;; Move annoying babel folder. This move does not seem to work properly.
;;; Move annoying babel folder.
(setq org-babel-temporary-directory (concat emacs-cache-folder "babel"))
;; Disable line splitting on M-RET
;;; Disable line splitting on M-RET
(setq org-M-RET-may-split-line '((default)))
(setq org-insert-heading-respect-content t)
(setq org-enforce-todo-dependencies t)
(setq org-deadline-warning-days 7)
(setq org-agenda-default-appointment-duration 60)
(setq org-agenda-columns-add-appointments-to-effort-sum t)
;; Agendas.
;; If you want to add other agendas in a local file, use the following code:
; (with-eval-after-load "org"
; (add-to-list 'org-agenda-files "/path/to/agenda.org"))
;;; Agendas.
;;; If you want to add other agendas in a local file, use the following code:
;; (with-eval-after-load "org"
;; (add-to-list 'org-agenda-files "/path/to/agenda.org"))
(add-to-list 'org-agenda-files "~/personal/todo/todo.org")
(setq org-enforce-todo-dependencies t)
;; Set PDF association in Org-mode (was Evince by default).
;;; Set PDF association in Org-mode (was Evince by default).
(with-eval-after-load "org"
(setq indent-tab-mode nil) ; Org-mode aligns text.
(require 'tool-pdf)