diff options
| author | benj <benj@rse8.com> | 2023-11-25 10:02:42 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2023-11-25 10:02:42 -0800 |
| commit | 4cfa8246ea7eec4139ba6c34d3fb3a4545956824 (patch) | |
| tree | 450ba709847d3740eef79753c428095bdb08fe62 /settings/setup-markdown-mode.el | |
| parent | 4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 (diff) | |
| download | emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.gz emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.bz2 emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.lz emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.xz emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.zst emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.zip | |
rewrite emacs init.el and go back to basics
This is a complete rewrite leveraging the very popular use-package to
see how I like it. We reduce init.el to a bare minimum configuration
and remove the previous homebrew organizational scheme. A number of
packages have yet to be setup, but we'll wait and do in JIT.
Diffstat (limited to '')
| -rw-r--r-- | settings/setup-markdown-mode.el | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/settings/setup-markdown-mode.el b/settings/setup-markdown-mode.el deleted file mode 100644 index 0e68d1c..0000000 --- a/settings/setup-markdown-mode.el +++ /dev/null @@ -1,26 +0,0 @@ -(require 'markdown-mode) -(setq markdown-imenu-generic-expression - '(("title" "^\\(.*\\)[\n]=+$" 1) - ("h2-" "^\\(.*\\)[\n]-+$" 1) - ("h1" "^# \\(.*\\)$" 1) - ("h2" "^## \\(.*\\)$" 1) - ("h3" "^### \\(.*\\)$" 1) - ("h4" "^#### \\(.*\\)$" 1) - ("h5" "^##### \\(.*\\)$" 1) - ("h6" "^###### \\(.*\\)$" 1) - ("fn" "^\\[\\^\\(.*\\)\\]" 1) - )) - -(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) -(add-to-list 'auto-mode-alist '("\\.md' ." markdown-mode)) - -(autoload 'gfm-mode "markdown-mode" - (add-to-list 'auto-mode-alist '("README\\.md]]'" .gfm-mode))) - -(setq markdown-command "pandoc") - -(add-hook 'markdown-mode-hook - (lambda () - (setq imenu-generic-expression markdown-imenu-generic-expression))) - -(provide 'setup-markdown-mode) |
