-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_emacs
45 lines (39 loc) · 1.61 KB
/
_emacs
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
;;emacs参数
;; -nw 不使用图形界面 -no-window
;; -q 不加载配置文件
;; --debug-init
;;;; 添加Emacs搜索路径
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/_emacs")
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/ecb-2.40")
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/_emacs/codepilot")
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/_emacs/emacs-eclim")
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/_emacs/icicles")
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/_emacs/gnuserv")
;;模板功能
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/yasnippet-0.6.1c")
;;自动补全
(add-to-list 'load-path "E:/emacs-23.3/my_emacs/auto-complete-1.3.1")
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "E:/emacs-23.3/my_emacs/auto-complete-1.3.1/dict")
(ac-config-default)
;;;;读取脚本
(load "base.el")
(load "cyexpand.el")
(load "cykbd.el")
(load "addon.el")
;;为了编程的配置
(load "cycode.el")
;;ecb自动添加===============================================================
(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.
'(ecb-options-version "2.40"))
(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.
)
;;ecb自动添加结束============================================================