Overhaul rcfiles; fast startup!

This commit is contained in:
Henrik Lissner 2014-08-07 18:35:22 -04:00
parent 3231a145e7
commit 0b5c7add55
31 changed files with 940 additions and 819 deletions

17
init/mod-text.el Normal file
View file

@ -0,0 +1,17 @@
(mapc 'my/install-package '(markdown-mode))
(add-hook 'text-mode-hook 'my/enable-hard-wrap)
(use-package markdown-mode
:mode (("\\.md\\'" . markdown-mode)
("/README\\'" . markdown-mode))
:init
(add-hook 'markdown-mode-hook
(lambda()
;; Restore native mac M-left/right functionality
(local-unset-key (kbd "<M-left>"))
(local-unset-key (kbd "<M-right>")))))
;;
(provide 'mod-text)