-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.el
34 lines (28 loc) · 985 Bytes
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "http://stable.melpa.org/packages/") t)
(package-initialize)
(defvar my-packages '(better-defaults
projectile
clojure-mode
cider
auto-complete
rainbow-delimiters
haskell-mode
ergoemacs-mode
auctex
use-package))
(dolist (p my-packages)
(unless (package-installed-p p)
(package-install p)))
(use-package markdown-mode
:ensure t
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "multimarkdown"))
(set-face-attribute 'region nil :background "#999")
(setq x-select-enable-clipboard t)
(setq ispell-list-command "--list")
(global-set-key (kbd "C-z") 'undo)