added org mode heading numbering as default

This commit is contained in:
paul-loedige
2023-11-09 17:03:16 +01:00
parent 075f832295
commit 42bac11266
+12 -7
View File
@@ -16,11 +16,13 @@
- [[#general-configuration][General Configuration]] - [[#general-configuration][General Configuration]]
- [[#user-information][User Information]] - [[#user-information][User Information]]
- [[#visual-settings][Visual Settings]] - [[#visual-settings][Visual Settings]]
- [[#org-mode][Org Mode]]
- [[#multilanguage-spellcheck][Multilanguage Spellcheck]] - [[#multilanguage-spellcheck][Multilanguage Spellcheck]]
- [[#latex][LaTeX]] - [[#latex][LaTeX]]
- [[#set-pdf-viewer][Set PDF Viewer]] - [[#set-pdf-viewer][Set PDF Viewer]]
- [[#add-auto-compile-hook-for-tex-mode][Add auto-compile hook for TeX mode]] - [[#add-auto-compile-hook-for-tex-mode][Add auto-compile hook for TeX mode]]
- [[#org-mode][Org Mode]]
- [[#default-location][Default Location]]
- [[#enable-header-numbering][Enable Header Numbering]]
* Config File Headers * Config File Headers
We start by simply defining the standard headers used by the three files. These headers come from the initial files generated by =doom install=, and contain either some Emacs-LISP relevant indicators like =lexical-binding=, or instructions about the contents of the file. We start by simply defining the standard headers used by the three files. These headers come from the initial files generated by =doom install=, and contain either some Emacs-LISP relevant indicators like =lexical-binding=, or instructions about the contents of the file.
@@ -387,12 +389,6 @@ Until I get used to the [[https://github.com/Greduan/emacs-theme-gruvbox][evil-s
(setq display-line-numbers-type 'relative) (setq display-line-numbers-type 'relative)
#+end_src #+end_src
** Org Mode
I would like to keep org at the default location
#+begin_src emacs-lisp :tangle config.el
(setq org-directory "~/org/")
#+end_src
* Multilanguage Spellcheck * Multilanguage Spellcheck
Enables use of multiple dictionaries. In my case German and English Enables use of multiple dictionaries. In my case German and English
#+begin_src emacs-lisp :tangle config.el #+begin_src emacs-lisp :tangle config.el
@@ -422,3 +418,12 @@ This function could also become useful if we ever want to extend the compile com
#+end_src #+end_src
#+RESULTS: #+RESULTS:
* Org Mode
** Default Location
#+begin_src emacs-lisp :tangle config.el
(setq org-directory "~/org/")
#+end_src
** Enable Header Numbering
#+begin_src emacs-lisp :tangle config.el
(setq org-startup-numerated t)
#+end_src