-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
executable file
·82 lines (61 loc) · 2.59 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
(setq use-package-compute-statistics t)
(setq gc-cons-threshold 64000000)
(setq read-process-output-max (* 1024 1024)) ;; 1mb
(add-hook 'after-init-hook (lambda ()
;; restore after startup
(setq gc-cons-threshold 800000)))
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-when-compile
(require 'use-package))
(setq-default use-package-always-defer t
use-package-always-ensure nil)
(setq load-path (cons "~/.emacs.d/vendor/" load-path))
(setq load-path (cons "~/.emacs.d/bmac/" load-path))
;;bmac.el stuff is custom setting of
;;various libs
;;one off settings and key assignments
(load "bmac-settings.el")
;; Eshell config
(load "bmac-eshell.el")
;; modified solarized theme to work in osx terminal app
(load "bmac-theme.el")
;;functions I find useful
(load "bmac-functions.el")
;;use hippie expand instead of debbrev
(load "bmac-hippie-expand.el")
(load "bmac-lsp.el")
(load "bmac-javascript.el")
;; (load "bmac-rust.el")
(load "bmac-helm.el")
(savehist-mode t)
(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.
'(flycheck-error ((t (:foreground "red" :underline t))))
'(header-line ((t (:foreground "#8a8a8a" :inverse-video nil))))
'(helm-candidate-number-suspended ((t nil)))
'(helm-header ((t nil)))
'(helm-header-line-left-margin ((t nil)))
'(helm-match ((t (:background "#d75f00" :foreground "#262626"))))
'(helm-match-item ((t (:foreground "#262626"))))
'(helm-selection ((t nil)))
'(helm-selection-line ((t (:background "#262626" :foreground "#262626"))))
'(helm-source-header ((t nil))))
;; (load "renpy.el")
(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.
'(flymake-fringe-indicator-position 'left-fringe)
'(helm-ag-ignore-patterns '("node_modules" "cache" ".log"))
'(helm-ag-insert-at-point 'symbol)
'(package-selected-packages
'(projectile git-commit tree-sitter-langs tree-sitter typescript-mode helm lsp-mode lsp-ui rustic flycheck flycheck-rust company helm-ag mocha use-package color-theme-solarized markdown-mode github-browse-file git-gutter-fringe diminish)))