-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathinit.el
83 lines (69 loc) · 3.69 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
;;; init.el -*- lexical-binding: t; -*-
;; This file controls what Doom modules are enabled and what order they load
;; in. Remember to run 'doom sync' after modifying it!
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
;; documentation. There you'll find a link to Doom's Module Index where all
;; of our modules are listed, including what flags they support.
;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
;; 'C-c c k' for non-vim users) to view its documentation. This works on
;; flags as well (those symbols that start with a plus).
;;
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
;; directory (for easy access to its source code).
(doom! :completion
company ; the ultimate code completion backend
vertico ; the search engine of the future
:ui
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
doom-quit ; DOOM quit-message prompts when you quit Emacs
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink cursor line after big motions
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
workspaces ; tab emulation, persistence & separate workspaces
:editor
(evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding
format ; automated prettiness
multiple-cursors ; editing in many places at once
rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to
:emacs
dired ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
(undo + tree) ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
:term
vterm ; the best terminal emulation in Emacs
:checkers
syntax ; tasing you for every semicolon you forget
:tools
(eval +overlay) ; run code, run (also, repls)
lookup ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
:os
(:if IS-MAC macos) ; improve compatibility with macOS
tty ; improve the terminal Emacs experience
:lang
emacs-lisp ; drown in parentheses
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
markdown ; writing docs for people to ignore
org ; organize your plain life in plain text
sh ; she sells {ba,z,fi}sh shells on the C xor
solidity ; do you need a blockchain? No.
(web +lsp) ; the tubes
(yaml +lsp)
(json +lsp) ; At least it ain't XML
:config
(default +bindings +smartparens))
(if (file-exists-p (expand-file-name "user/init.el" doom-user-dir))
(load (expand-file-name "user/init.el" doom-user-dir))
(progn
(shell-command "cp ~/.config/doom/user/examples/init.el ~/.config/doom/user/init.el")
(load (expand-file-name "user/init.el" doom-user-dir))))