summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-07-27 11:12:09 +0200
committerfpi2020-07-27 11:17:16 +0200
commitda22c0447699fa864413b0758483a29735fd8de2 (patch)
tree5c81093eeef19eb585a0f53785dfec52051556d9
parentMake gnorb use org-refile-targets (diff)
Add automatic table of contents
Diffstat (limited to '')
-rw-r--r--emacs-init.org67
1 files changed, 67 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 5200e15..7c6c155 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -1,4 +1,65 @@
#+PROPERTY: header-args:emacs-lisp :tangle tangle/emacs-init.el :results silent :noweb yes
+* Contents :QUOTE:TOC_2_gh:
+#+BEGIN_QUOTE
+- [[#overview][Overview]]
+ - [[#about-this-document][About this document]]
+- [[#base-settings][Base settings]]
+ - [[#setup-load-path][Setup load path]]
+ - [[#meta-packages][Meta packages]]
+ - [[#gui-interface][GUI Interface]]
+ - [[#font][Font]]
+ - [[#theme--faces][Theme & Faces]]
+ - [[#user-info][User info]]
+ - [[#desktop-module][Desktop module]]
+ - [[#customize][Customize]]
+ - [[#file-and-input-history][File and input history]]
+ - [[#local-variables][Local variables]]
+ - [[#personal-keymap][Personal keymap]]
+ - [[#base-commands-simpleel][Base commands (simple.el)]]
+- [[#selection-and-search-methods][Selection and search methods]]
+ - [[#completion-frameworks][Completion frameworks]]
+ - [[#isearch-enhancements][isearch enhancements]]
+- [[#directory-project-buffer-window-management][Directory, project, buffer, window management]]
+ - [[#dired][Dired]]
+ - [[#tramp][Tramp]]
+ - [[#git][Git]]
+ - [[#projectile][Projectile]]
+ - [[#working-with-buffers][Working with buffers]]
+ - [[#window-configuration][Window configuration]]
+ - [[#file-encryption][File encryption]]
+- [[#applications-and-utilities][Applications and utilities]]
+ - [[#calendar][Calendar]]
+ - [[#pdfs][PDFs]]
+ - [[#latex][Latex]]
+ - [[#programming-languages][Programming languages]]
+ - [[#org-mode][Org mode]]
+ - [[#deft][Deft]]
+ - [[#shell][Shell]]
+ - [[#grep][Grep]]
+ - [[#proced][Proced]]
+ - [[#pass][Pass]]
+ - [[#ledger][Ledger]]
+ - [[#elfeed][Elfeed]]
+ - [[#plotting-data][Plotting data]]
+ - [[#html-renderer][HTML renderer]]
+ - [[#writing-setup][Writing Setup]]
+ - [[#email][Email]]
+ - [[#footnote-mode][Footnote Mode]]
+ - [[#bbdb][BBDB]]
+ - [[#spellcheck][Spellcheck]]
+ - [[#compile][Compile]]
+ - [[#context-aware-hydra][Context aware hydra]]
+- [[#language-settings][Language settings]]
+- [[#interface][Interface]]
+ - [[#general][General]]
+ - [[#rainbow-mode][Rainbow mode]]
+ - [[#parentheses][Parentheses]]
+ - [[#whitespace][Whitespace]]
+ - [[#undo][Undo]]
+ - [[#electric-stuff][Electric stuff]]
+- [[#wrapping-up][Wrapping up]]
+#+END_QUOTE
+
* Overview
** About this document
This files contains all the elisp code normally placed in the .emacs
@@ -4005,6 +4066,12 @@ Here's a function to easily copy a doi from the results of =crossref-lookup=.
(mw-org-hide-meta-heading-info)))
(define-key fpi/toggle-map "m" #'fpi/org-toggle-meta-info-lines)
#+end_src
+*** Table of contents in org
+#+begin_src emacs-lisp
+(use-package toc-org
+ :straight t
+ :hook (org-mode . toc-org-mode))
+#+end_src
*** Workflow
My current workflow is largely inspired by [[http://doc.rix.si/cce/cce-org.html][Ryan Rix's]] and [[http://doc.norang.ca/org-mode.html][Bernt
Hansen's]] configs.