diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-04-14 22:15:16 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-14 22:15:16 +0000 |
commit | b8c0a71ad026ca831dc1643f22533a96e1e65d55 (patch) | |
tree | 4ae7d4e4416c1d41bc4740fb8c3756051145f75e /modules/workstation/emacs/init.el | |
parent | 40a29598a19495a131118d0597025018e401be47 (diff) | |
download | nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.tar nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.tar.gz nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.tar.bz2 nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.tar.lz nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.tar.xz nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.tar.zst nixlib-b8c0a71ad026ca831dc1643f22533a96e1e65d55.zip |
modules/emacs: hide Markdown markup by default
I read Markdown more than I write it, so it makes sense to hide the syntax by default. Writing it with syntax hidden is also very pleasant. I only need to show the syntax occasionally.
Diffstat (limited to 'modules/workstation/emacs/init.el')
-rw-r--r-- | modules/workstation/emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el index dd6a94f9aa4b..cce697d34ce5 100644 --- a/modules/workstation/emacs/init.el +++ b/modules/workstation/emacs/init.el @@ -142,6 +142,9 @@ (global-set-key (kbd "C-x g") #'magit-status) (global-set-key (kbd "C-x M-g") #'magit-dispatch) +;;; Markdown ;;; +(setq-default markdown-hide-markup t) + ;; Don't open a second window with a diff when committing. I have ;; commit.verbose set in git, so the diff is shown below the commit ;; anyway, and it's annoying to have magit take over the whole frame |