-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.el
57 lines (49 loc) · 1.95 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
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
;; on to the visual settings
(setq inhibit-splash-screen t) ; no splash screen, thanks
(setq visible-bell t) ; no beeps please
(line-number-mode 1) ; have line numbers and
(column-number-mode 1) ; column numbers in the mode line
(delete-selection-mode 1) ; delete selected block when start typing
(add-to-list 'load-path "~/.emacs.d/lisp")
(add-to-list 'load-path "~/.emacs.d/vendor")
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(unless (require 'el-get nil 'noerror)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.github.com/dimitri/el-get/master/el-get-install.el")
(let (el-get-master-branch)
(goto-char (point-max))
(eval-print-last-sexp))))
(el-get 'sync)
(color-theme-twilight)
;;(load-theme 'twilight-anti-bright-theme)
(defalias 'yes-or-no-p 'y-or-n-p)
(require 'packages-kit)
(require 'essentials-kit)
(require 'ruby-kit)
(require 'apple-kit)
(require 'org-kit)
(require 'erlang-kit)
(require 'debian-kit)
(require 'russian-kit)
(require 'browser-kit)
;;;;; Tramp settings
;; Sudo via SSH
(set-default 'tramp-default-proxies-alist (quote ((".*" "\\`root\\'" "/ssh:%h:"))))
(server-start)
(setenv "TMPDIR" "/tmp")
(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.
'(custom-safe-themes (quote ("159bb8f86836ea30261ece64ac695dc490e871d57107016c09f286146f0dae64" "03f28a4e25d3ce7e8826b0a67441826c744cbf47077fb5bc9ddb18afe115005f" default))))
(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.
)