-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
57 lines (42 loc) · 1.17 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
50
51
52
53
54
55
56
57
(tool-bar-mode -1)
(scroll-bar-mode -1)
(desktop-save-mode -1)
(menu-bar-mode -1)
(kill-buffer (get-buffer "*scratch*"))
(setq-default inhibit-startup-screen t)
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(set-default-font "Consolas-10")
(add-to-list 'default-frame-alist '(font . "Consolas-10"))
(add-to-list 'default-frame-alist '(if (eq window-system 'X) (window-maximize)))
(require 'paren)
(show-paren-mode 1)
(defconst addons-dir "~/.emacs.d/addons/" "")
(byte-recompile-directory addons-dir)
(defun load-config-file (filelist)
(dolist (file filelist)
(load (expand-file-name
(concat addons-dir file)))
(message "Loaded config file:%s" file)
))
(load-config-file
(cons
(if (equal system-type 'windows-nt) "platform_win.el" "platform_linux.el")
'("deity-theme.el"
"addons.el"
"bindings.el"
)))
(setq
backup-by-copying t
;backup-directory-alist
; '(("." . "~/.saves"))
delete-old-versions t
kept-new-versions 6
kept-old-versions 2
version-control t
)
(setq backup-directory-alist
'((".*" . "~/.saves/backup")))
(setq auto-save-file-name-transforms
'((".*" "~/.saves" t)))
(server-start)