forked from slipset/emacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
52 lines (35 loc) · 1.15 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
;;Emacs configuration file
(setq init-home-dir (file-name-directory user-init-file))
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
(add-to-list 'load-path
(expand-file-name "elisp" init-home-dir))
(require 'ensure-packages)
(setq ensure-packages
'(smex paredit puppet-mode puppetfile-mode))
(ensure-packages-install-missing)
(require 'ido)
(setq ido-enable-flex-matching t)
(ido-mode 1)
(require 'smex)
(smex-initialize)
(global-set-key (kbd "M-x") 'smex)
(setq make-backup-files nil)
(setq inhibit-startup-message t)
(setq inhibit-startup-screen t)
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(line-number-mode t)
(global-linum-mode)
(defalias 'yes-or-no-p 'y-or-n-p)
(setq help-at-pt-display-when-idle t)
(setq help-at-pt-timer-delay 0.1)
(help-at-pt-set-timer)
(load-theme 'deeper-blue)
(custom-set-variables
'(custom-safe-themes
(quote
("cbef37d6304f12fb789f5d80c2b75ea01465e41073c30341dc84c6c0d1eb611d" default))))
(custom-set-faces
'(default ((t (:family "Ubuntu Mono" :foundry "unknown" :slant normal :weight normal :height 98 :width normal)))))