-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
104 lines (88 loc) · 3.03 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
;; -*- mode: emacs-lisp -*-
;; ____________________________________________________________________________
;; Aquamacs custom-file warning:
;; Warning: After loading this .emacs file, Aquamacs will also load
;; customizations from `custom-file' (customizations.el). Any settings there
;; will override those made here.
;; Consider moving your startup settings to the Preferences.el file, which
;; is loaded after `custom-file':
;; ~/Library/Preferences/Aquamacs Emacs/Preferences
;; _____________________________________________________________________________
;;; .emacs --- The init file of emacs configuration
;;
;; Copyright (C) 2015 Brunno dos Santos <emacs at brunno dot me>
;;
;; Author: Brunno dos Santos @squiter
;; URL: http://github.com/squiter/emacs-fast-start
;;
;; This file is NOT part of GNU Emacs.
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; See <http://www.gnu.org/licenses/> for a copy of the GNU General
;; Public License.
;;
;;; Commentary:
;;
;; This file contains only the `requires' needed to load your configs
;;; Code:
;; 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.
;; (package-initialize)
(add-to-list 'load-path (expand-file-name "conf" user-emacs-directory))
(setenv "PAGER" "cat")
(require 'init-packages)
(require 'init-simple-packages)
(require 'use-package)
(require 'init-constants)
(require 'init-general)
(require 'init-custom-functions)
(require 'init-ui)
(require 'init-keybindings)
(require 'init-mac-switch-meta)
;; init my packages configurations
(require 'init-helm)
(require 'init-projectile)
(require 'init-eshell)
(require 'init-sbiyyala)
;; org-tree-mode
;; (require 'org-tree-slide)
;; grammarly
;; (require 'init-grammarly)
;; clojure
(require 'init-clojure)
;; kotlin
(require 'init-kotlin)
;; emojify
(require 'init-emojify)
;; term-copy-paste
(require 'init-term-copy)
(put 'downcase-region 'disabled nil)
(put 'company-keywords 'disabled nil)
;; vterm
(add-to-list 'load-path "~/git/emacs-libvterm")
(require 'vterm)
(require 'init-vterm)
;; js2
(require 'init-js2)
;; https://blog.sumtypeofway.com/posts/emacs-config.html
(setq warning-minimum-level :emergency)
(setq gc-cons-threshold 100000000)
(setq use-package-always-ensure t)
;; fix whitespace treatment
(add-hook 'before-save-hook #'delete-trailing-whitespace)
(setq require-final-newline t)
;; wrap lines, always
(global-visual-line-mode t)
;; restart from evaluating "Tree-sitter"
;; .emacs ends here