Overhaul rcfiles; fast startup!
This commit is contained in:
parent
3231a145e7
commit
0b5c7add55
31 changed files with 940 additions and 819 deletions
17
init/mod-text.el
Normal file
17
init/mod-text.el
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue