forked from tuhdo/emacs-c-ide-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit-c-ide.el
39 lines (33 loc) · 1.28 KB
/
init-c-ide.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
(require-package 'use-package)
(setq use-package-always-ensure t)
(add-to-list 'load-path "~/emacs-c-ide-demo/custom")
(require 'setup-general)
(if (version< emacs-version "24.4")
(require 'setup-ivy-counsel)
(require 'setup-helm)
(require 'setup-helm-gtags)
)
;; (require 'setup-ggtags)
(require 'setup-cedet)
(require 'setup-editing)
;; function-args
(require-package 'function-args)
(fa-config-default)
(define-key c-mode-map [(tab)] 'company-complete)
(define-key c++-mode-map [(tab)] 'company-complete)
;; comment custom-set-variales
;; (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.
;; '(package-selected-packages
;; (quote
;; (zygospore helm-gtags helm yasnippet ws-butler volatile-highlights use-package undo-tree iedit dtrt-indent counsel-projectile company clean-aindent-mode anzu))))
;; (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.
;; )
(provide 'init-c-ide)