Fixed multiple ELPAs, added TOC-ORG

This commit is contained in:
Anthony Cicchetti 2020-12-13 15:51:51 -05:00
parent e944d3a7e9
commit c60a82e021

View file

@ -3,8 +3,9 @@
(require 'package)
(add-to-list 'package-archives
'(
("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/"))
"melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives
'("org" . "https://orgmode.org/elpa/")
t)
(package-initialize)
(unless package-archive-contents
@ -31,7 +32,7 @@
("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")))
'(package-selected-packages
'(evil-org org-plus-contrib evil-goggles evil-expat evil-commentary auto-package-update lispy smartparens which-key git-gutter rainbow-delimiters auto-complete-distel auto-complete evil magit evil-magit))
'(toc-org evil-org org-plus-contrib evil-goggles evil-expat evil-commentary auto-package-update lispy smartparens which-key git-gutter rainbow-delimiters auto-complete-distel auto-complete evil magit evil-magit))
'(undo-tree-auto-save-history t)
'(undo-tree-history-directory-alist '(("." . "~/.undohist-emacs")))
'(undo-tree-visualizer-diff t)
@ -158,6 +159,12 @@
(evil-define-key 'normal 'global (kbd "<leader> SPC c") 'org-capture)
)
(use-package toc-org
:after (org)
:config
(add-hook 'org-mode-hook 'toc-org-mode)
(add-hook 'markdown-mode-hook 'toc-org-mode))
(setq cider-font-lock-dynamically '(macro core function var))
;; These don't work yet?