diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 3a76975..02b573e 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -838,6 +838,9 @@ Evil command aliases. ;; Highlight parenthesis (add-hook 'prog-mode-hook 'show-paren-mode) + ;; Enable 'table of contents' in org + (add-hook 'org-mode-hook 'toc-org-mode) + ;; C++ // style comments in c-mode (add-hook 'c-mode-hook (lambda () (c-toggle-comment-style 0)))