-
Notifications
You must be signed in to change notification settings - Fork 3
/
sys-linux.el
80 lines (69 loc) · 1.69 KB
/
sys-linux.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
71
72
73
74
75
76
77
78
79
80
(setq dropbox-base-dir "~/Dropbox")
(setq package-list
'(ecb
shm
bm
yasnippet
muse
popup
async auto-complete-clang
projectile
xcscope
go-mode
go-eldoc
go-autocomplete
go-rename
go-dlv
thrift
yasnippet
git
helm
js3-mode
exec-path-from-shell
org
org-plus-contrib
rtags
elpy
))
(dolist (package package-list)
(unless (package-installed-p package)
(package-install package)))
(require 'xcscope)
(require 'linum)
(require 'cc-mode)
(require 'bm)
(cscope-setup)
(global-set-key (kbd "<f5>") 'bm-toggle)
(global-set-key (kbd "<f6>") 'bm-next)
(global-set-key (kbd "<f7>") 'bm-show)
(global-set-key (kbd "C-z") nil)
(setq popup-terminal-command '("gnome-terminal"))
(load "lang-python.el")
;; (load "misc-gnus.el")
(load "misc-doxygen.el")
(load "util-org-mode.el")
;; (load "lang-auctex.el")
(load "lang-fp.el")
(load "shared-tools.el")
;; (load "misc-vcs.el")
(load "lang-cc.el")
(load "lang-ruby.el")
(load "lang-go.el")
(load "lang-scala.el")
(load "lang-java.el")
(load "lang-web.el")
(load "lang-ml.el")
;; (setq my-muse-base-dir "~/notes")
;; (load "misc-muse.el")
;; (load "misc-emms.el")
;; (load "misc-chat.el")
;; Projectile
(define-key projectile-mode-map [?\s-d] 'projectile-find-dir)
(define-key projectile-mode-map [?\s-p] 'projectile-switch-project)
(define-key projectile-mode-map [?\s-f] 'projectile-find-file)
(define-key projectile-mode-map [?\s-g] 'projectile-grep)
(setq projectile-enable-caching t)
(cond
((not (boundp 'initial-window-system))
(message "Console"))
(t (load "gui-settings.el")))