Emacs: Insert org-mode heading after current entry instead of splitting
parent
9a0a208db0
commit
ae6fe9dd77
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue