-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
67 lines (57 loc) · 3.21 KB
/
init.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
;*******************************************************************************;
; ;
; ::: :::::::: ;
; dotemacs :+: :+: :+: ;
; +:+ +:+ +:+ ;
; by: thor <[email protected]> +#+ +:+ +#+ ;
; +#+#+#+#+#+ +#+ ;
; Created: 2013/06/18 14:01:14 by thor #+# #+# ;
; Updated: 2020/01/27 10:48:04 by tmaze ### ########.fr ;
; ;
;*******************************************************************************;
; Load general features files
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(setq config_files "/usr/share/emacs/site-lisp/")
(setq load-path (append (list nil config_files) load-path))
;; (load "~/.emacs.d/list.el")
;; (load "~/.emacs.d/string.el")
;; (load "~/.emacs.d/comments.el")
;; (load "~/.emacs.d/header.el")
(autoload 'php-mode "php-mode" "Major mode for editing PHP code" t)
(add-to-list 'auto-mode-alist '("\\.php[34]?\\'\\|\\.phtml\\'" . php-mode))
; Set default emacs configuration
(set-language-environment "UTF-8")
(if (version< emacs-version "23")
(setq-default font-lock-global-modes nil))
(setq-default line-number-mode nil)
(setq-default tab-width 4)
(setq-default indent-tabs-mode t)
(global-set-key (kbd "DEL") 'backward-delete-char)
(setq-default c-backspace-function 'backward-delete-char)
(setq-default c-basic-offset 4)
(setq-default c-default-style "linux")
(setq-default tab-stop-list '(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60
64 68 72 76 80 84 88 92 96 100 104 108 112 116 120))
; Load user configuration
(if (file-exists-p "~/.myemacs") (load-file "~/.myemacs"))
;;*******************************************************************************;
(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.
'(gud-gdb-command-name "gdb --annotate=1")
'(large-file-warning-threshold nil)
'(package-selected-packages
'(virtualenv exec-path-from-shell lsp-python-ms restart-emacs vterm dockerfile-mode ccls yasnippet ox-reveal web-mode json-mode docker-compose-mode column-enforce-mode treemacs-magit ox-twbs evil dakrone-theme)))
(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.
)
(setenv "PATH" (concat (getenv "PATH") ":/Users/tmaze/.cargo/bin:/usr/local/bin"))
(setq exec-path (append exec-path '("/Users/tmaze/.cargo/bin" "/usr/local/bin")))