From: rearman Date: Tue, 12 Aug 2025 14:02:37 +0000 (-0400) Subject: Add Markdown-Mode, put MELPA at the end of the list X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=83e6bda88ae99501a83db0f2aca63ee88fa3b5c1;p=emacsinit.git Add Markdown-Mode, put MELPA at the end of the list --- diff --git a/re/re-packages.el b/re/re-packages.el index 145b65f..4d2fc96 100644 --- a/re/re-packages.el +++ b/re/re-packages.el @@ -5,7 +5,7 @@ (require 'package) -(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (use-package ledger-mode :ensure @@ -153,5 +153,25 @@ (add-hook 'after-save-hook 'howm-mode-set-buffer-name) (add-hook 'howm-mode-hook 'howm-mode-set-buffer-name)) +(use-package edit-indirect :ensure t) + +(use-package markdown-mode + :ensure + t + :config + (setq markdown-special-ctrl-a/e t) + :bind + (:map markdown-mode-map + ("M-" . markdown-demote) + ("M-" . markdown-promote) + ("M-" . markdown-move-up) + ("M-" . markdown-move-down) + ("C-M-u" . markdown-up-heading) + ("C-M-d" . markdown-down-heading) + ("C-M-b" . markdown-previous-same-level) + ("C-M-f" . markdown-next-same-level) + ("C-M-p" . markdown-outline-previous) + ("C-M-n" . markdown-outline-next))) + (provide 're-packages) ;;; re-packages.el ends here