-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemacs.el
70 lines (53 loc) · 1.95 KB
/
emacs.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
58
59
60
61
62
63
64
65
66
67
68
69
70
;;----------------------------------------------------------------------
;; References
;;----------------------------------------------------------------------
;; http://bc.tech.coop/emacs.html
;;----------------------------------------------------------------------
;; Environment
;;----------------------------------------------------------------------
;; See if we're on MS Windows or Mac OS X
(defvar linux-p (string-match "linux" (symbol-name system-type)))
(defvar mswindows-p (string-match "windows" (symbol-name system-type)))
(defvar macosx-p (string-match "darwin" (symbol-name system-type)))
;; 터미널 커넥션
; (defvar terminal-connection (not (window-system)))
(setq load-path (cons "~/.site-lisp" load-path))
(add-to-list 'load-path "~/.site-lisp/vendor")
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(if mswindows-p (add-to-list 'load-path "C:/Program Files/Emacs/EmacsW32/lisp"))
(setq custom-file "~/.site-lisp/eskim/custom.el")
(load custom-file)
(load "eskim/global.el")
(load "eskim/defun.el")
(load "eskim/pweet.el")
(load "eskim/theme.el")
(load "eskim/mail.el")
(load "eskim/dired.el")
(load "eskim/shell.el")
(load "eskim/ido.el")
(load "eskim/goodies.el")
(load "eskim/xml.el")
(load "eskim/proglang.el")
(load "eskim/binding.el")
(load "eskim/ruby.el")
(vendor 'wrap-region)
(vendor 'recentf)
(vendor 'anything)
;; (vendor 'speedbar)
(vendor 'magit)
;; (vendor 'ecb-autoloads)
;; (vendor 'yasnippet-0.5.7)
;; (yas/initialize)
;; (yas/load-directory "~/.site-lisp/yasnippet-0.5.7/snippets")
;; (add-to-list 'yas/extra-mode-hooks
;; 'js2-mode-hook)
;; (setq yas/window-system-popup-function #'yas/x-popup-menu-for-template)
;; (make-variable-buffer-local 'yas/trigger-key)
;; (add-hook 'ruby-mode-hook ; or rails-minor-mode-hook ?
;; '(lambda ()
;; (setq yas/trigger-key
;; (kbd "<tab>"))))
(server-start)