configure org mode
This commit is contained in:
34
init.el
34
init.el
@@ -349,26 +349,27 @@
|
||||
:defer t)
|
||||
|
||||
(use-package org
|
||||
:mode "\\.org\\'"
|
||||
:ensure nil
|
||||
:mode ("\\.org\\'" . org-mode)
|
||||
:hook (org-mode . org-indent-mode)
|
||||
:custom
|
||||
(org-todo-keywords '((sequence "TODO" "INPROGRESS" "DONE")))
|
||||
(org-support-shift-select t)
|
||||
(org-default-notes-file (concat org-directory "/captures.org"))
|
||||
(org-html-validation-link nil)
|
||||
(org-html-head-include-default-style nil)
|
||||
(org-html-head-include-scripts nil)
|
||||
(org-html-head "<link rel=\"stylesheet\" href=\"https://cdn.simplecss.org/simple.min.css\" />")
|
||||
(org-capture-templates
|
||||
'(("t" "Task" entry (file+headline "~/org/inbox.org" "Tasks")
|
||||
"* TODO %?\n%U\n%i\n%a")
|
||||
("n" "Note" entry (file+headline "~/org/inbox.org" "Notes")
|
||||
"* %?\n%U\n%i\n%a")
|
||||
("i" "Idea" entry (file+headline "~/org/inbox.org" "Ideas")
|
||||
"* %?\n%U\n%i\n%a")))
|
||||
|
||||
:config
|
||||
(org-indent-mode)
|
||||
(require 'ox-publish)
|
||||
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
'((shell . t)))
|
||||
|
||||
(setq org-publish-use-timestamps-flag nil)
|
||||
|
||||
(setq org-publish-project-alist
|
||||
(org-publish-use-timestamps-flag nil)
|
||||
(org-publish-project-alist
|
||||
(list
|
||||
(list "writings"
|
||||
:base-directory "~/Documents/writings/content"
|
||||
@@ -378,7 +379,14 @@
|
||||
:time-stamp-file nil
|
||||
:section-numbers nil
|
||||
:with-creator t
|
||||
:with-author nil))))
|
||||
:with-author nil)))
|
||||
|
||||
:config
|
||||
(require 'ox-publish)
|
||||
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages
|
||||
'((shell . t))))
|
||||
|
||||
(use-package dumber-jump
|
||||
:init
|
||||
|
||||
Reference in New Issue
Block a user