3 (add-to-list 'package-archives
4 '("melpa" .
"https://melpa.org/packages/") t
)
6 (package-install 'use-package
)
8 ;; install and enable evil
14 ;; install and enable evil-collection
15 ;; that is, evil keybindings for other parts of emacs
16 (use-package evil-collection
20 (evil-collection-init))
22 ;; install and enable evil-surround
23 (use-package evil-surround
26 (global-evil-surround-mode 1))
28 ;; install markdown-mode
29 (use-package markdown-mode
31 :commands
(markdown-mode gfm-mode
)
32 :mode
(("README\\.md\\'" . gfm-mode
)
33 ("\\.md\\'" . markdown-mode
)
34 ("\\.markdown\\'" . markdown-mode
))
35 :init
(setq markdown-command
"multimarkdown"))
37 ;; install SLIME for Common Lisp hacking
41 (setq inferior-lisp-program
"/usr/bin/sbcl")
42 (define-key lisp-mode-map
(kbd "C-h f") 'slime-describe-function
))
44 ;; wrap at the level of words in text-modes
45 (add-hook 'text-mode-hook
#'visual-line-mode
)