-
Notifications
You must be signed in to change notification settings - Fork 0
/
.emacs.private.el
69 lines (52 loc) · 1.78 KB
/
.emacs.private.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
(require 'package)
(package-initialize)
;; all the packages (in particular autoloads)
(add-to-list 'package-archives
'("elpy" . "https://jorgenschaefer.github.io/packages/"))
;; the list of packages available
;; (unless package-archive-contents
;; (package-refresh-contents))
;; (dolist (package package-list)
;; (unless (package-installed-p package)
;; (package-install packaginline-string-rectanglee)))
;; Install Javascript Code
;; npm install -g tern
;; enable turn-mode
;; install mode
;; color-identifiers-mode
;; rainbo-identifiers-mode
;; find-file-in-project
;; https://github.com/grizzl/fiplr
;; find file in current projects
;; (global-set-key (kbd "C-x p") 'fiplr-find-file)
;;(setq fiplr-ignored-globs '((directories (".git" ".sin"))
;; (files ("*.jpg" "*.png" "*.zip" "*~" "*.pyc"))))
;;(custom-set-variables
;; '(helm-gtags-prefix-key "\C-t")
;; '(helm-gtags-suggested-key-mapping t))
;; (setenv "PYTHONIOENCODING" "UTF-8")
;; install ace-jump-mode
;; https://github.com/winterTTr/ace-jump-mode
;; (require 'ace-jump-mode)
;; (define-key global-map (kbd "C-c SPC") 'ace-jump-mode)
;; Install Python code
;; pip install jedi flake8 importmagic autopep8 rope
;; (elpy-enable)
;; (run-python)
;; (run-python) to start intractive python
;; (require 'inline-string-rectangle)
;; (global-set-key (kbd "C-x r t") 'inline-string-rectangle)
(add-to-list 'load-path "~/.emacs.private.d")
(load "elixir")
(load "lisp")
(load "rust")
(load "common")
(load "web")
(load "evil")
(load "org-override")
(if (file-exists-p "~/.emacs.local.el")
(load-file "~/.emacs.local.el"))
(if (string-equal system-type "windows-nt") ; Microsoft Windows
(load "windows"))
(add-to-list 'load-path (expand-file-name "~/.emacs.private.d/aweshell"))
(require 'aweshell)