-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot.emacs
More file actions
61 lines (56 loc) · 1.67 KB
/
dot.emacs
File metadata and controls
61 lines (56 loc) · 1.67 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives
'("org" . "https://orgmode.org/elpa/"))
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(defvar my-packages '(
alchemist
better-defaults
clojure-mode
company
elixir-mode
evil
helm
magit
monokai-theme
nyan-mode
org
projectile
rainbow-delimiters
solarized-theme
zenburn-theme))
(dolist (p my-packages)
(unless (package-installed-p p)
(package-install p)))
(add-hook 'prog-mode-hook 'linum-mode)
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
(fset 'yes-or-no-p 'y-or-n-p)
(global-set-key (kbd "C-z") 'undo)
(nyan-mode 1)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(auto-save-default nil)
'(blink-cursor-mode nil)
'(custom-enabled-themes (quote (monokai)))
'(inhibit-startup-screen t)
'(initial-scratch-message nil)
'(make-backup-files nil)
'(mouse-wheel-progressive-speed nil)
'(mouse-wheel-scroll-amount (quote (1 ((shift) . 1) ((control)))))
'(ring-bell-function (quote ignore))
'(scroll-conservatively 1000)
'(scroll-preserve-screen-position 1)
'(show-paren-mode t)
'(tool-bar-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)