Rethink smartparens config #181

+ Parts of my smartparens config that were personal preference have been
  moved to my private module.
+ The css-mode config was redundant and was removed
+ Moved lang-specific config to their respective modules
+ Markdown config was redundant with native electric support, and thus
  removed.
This commit is contained in:
Henrik Lissner 2017-09-02 16:11:14 +02:00
parent 4ff294e9e1
commit bb5907cadb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 21 additions and 26 deletions

View file

@ -20,14 +20,7 @@
(setq line-spacing 2
fill-column 80))
(sp-local-pair
'(markdown-mode gfm-mode)
"\`\`\`" "\`\`\`" :post-handlers '(("||\n" "RET")))
(map! (:map gfm-mode-map
"`" #'self-insert-command)
(:map markdown-mode-map
(map! (:map markdown-mode-map
[remap find-file-at-point] #'markdown-follow-thing-at-point
"M-*" #'markdown-insert-list-item
"M-b" #'markdown-insert-bold