markdown-mode: handle triple backquotes better

This commit is contained in:
Henrik Lissner 2016-10-06 13:55:40 +02:00
parent ad1d3ef2d3
commit abec12c26d

View file

@ -18,6 +18,12 @@
:config
(def-electric! markdown-mode :chars ("+" "#"))
(sp-local-pair
'(markdown-mode gfm-mode)
"\`\`\`" "\`\`\`" :post-handlers '(("||\n" "RET")))
(map! :map gfm-mode-map "`" 'self-insert-command)
(map! :map markdown-mode-map
"<backspace>" nil
"<M-left>" nil