summaryrefslogtreecommitdiffstats
path: root/.doom.d
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-19 17:12:03 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-19 17:12:03 +0100
commit5422ea7430f070323bbf8c6304567f248912781a (patch)
tree0d7663e73173f3a02d37d3f7c9fc5fefbf4501c6 /.doom.d
downloaddotfiles-5422ea7430f070323bbf8c6304567f248912781a.tar.gz
dotfiles-5422ea7430f070323bbf8c6304567f248912781a.zip
add my dot files
Diffstat (limited to '.doom.d')
-rw-r--r--.doom.d/config.el13
-rw-r--r--.doom.d/init.el190
-rw-r--r--.doom.d/packages.el52
3 files changed, 255 insertions, 0 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el
new file mode 100644
index 0000000..514a52e
--- /dev/null
+++ b/.doom.d/config.el
@@ -0,0 +1,13 @@
1(setq user-full-name "Jakub Dluosz"
2 user-mail-address "jdlugosz963@gmail.com")
3
4(setq doom-theme 'doom-dracula)
5(setq doom-font (font-spec :family "Mononoki Nerd Font Mono" :size 13))
6
7(setq org-directory "~/org/")
8
9(setq display-line-numbers-type t)
10
11(setq display-line-numbers 'relative)
12
13(use-package! lsp-tailwindcss)
diff --git a/.doom.d/init.el b/.doom.d/init.el
new file mode 100644
index 0000000..dc33adb
--- /dev/null
+++ b/.doom.d/init.el
@@ -0,0 +1,190 @@
1;;; init.el -*- lexical-binding: t; -*-
2
3;; This file controls what Doom modules are enabled and what order they load
4;; in. Remember to run 'doom sync' after modifying it!
5
6;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
7;; documentation. There you'll find a "Module Index" link where you'll find
8;; a comprehensive list of Doom's modules and what flags they support.
9
10;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
11;; 'C-c c k' for non-vim users) to view its documentation. This works on
12;; flags as well (those symbols that start with a plus).
13;;
14;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
15;; directory (for easy access to its source code).
16
17(doom! :input
18 ;;chinese
19 ;;japanese
20 ;;layout ; auie,ctsrnm is the superior home row
21
22 :completion
23 company ; the ultimate code completion backend
24 ;;helm ; the *other* search engine for love and life
25 ;;ido ; the other *other* search engine...
26 ;;ivy ; a search engine for love and life
27 vertico ; the search engine of the future
28
29 :ui
30 ;;deft ; notational velocity for Emacs
31 doom ; what makes DOOM look the way it does
32 doom-dashboard ; a nifty splash screen for Emacs
33 doom-quit ; DOOM quit-message prompts when you quit Emacs
34 (emoji +unicode) ; 🙂
35 hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
36 ;;hydra
37 ;;indent-guides ; highlighted indent columns
38 ;;ligatures ; ligatures and symbols to make your code pretty again
39 minimap ; show a map of the code on the side
40 modeline ; snazzy, Atom-inspired modeline, plus API
41 ;;nav-flash ; blink cursor line after big motions
42 neotree ; a project drawer, like NERDTree for vim
43 ophints ; highlight the region an operation acts on
44 (popup +defaults) ; tame sudden yet inevitable temporary windows
45 ;;tabs ; a tab bar for Emacs
46 ;;treemacs ; a project drawer, like neotree but cooler
47 ;;unicode ; extended unicode support for various languages
48 vc-gutter ; vcs diff in the fringe
49 vi-tilde-fringe ; fringe tildes to mark beyond EOB
50 ;;window-select ; visually switch windows
51 workspaces ; tab emulation, persistence & separate workspaces
52 ;;zen ; distraction-free coding or writing
53
54 :editor
55 (evil +everywhere); come to the dark side, we have cookies
56 file-templates ; auto-snippets for empty files
57 fold ; (nigh) universal code folding
58 ;;(format +onsave) ; automated prettiness
59 ;;god ; run Emacs commands without modifier keys
60 ;;lispy ; vim for lisp, for people who don't like vim
61 ;;multiple-cursors ; editing in many places at once
62 ;;objed ; text object editing for the innocent
63 ;;parinfer ; turn lisp into python, sort of
64 ;;rotate-text ; cycle region at point between text candidates
65 snippets ; my elves. They type so I don't have to
66 ;;word-wrap ; soft wrapping with language-aware indent
67
68 :emacs
69 dired ; making dired pretty [functional]
70 electric ; smarter, keyword-based electric-indent
71 ;;ibuffer ; interactive buffer management
72 undo ; persistent, smarter undo for your inevitable mistakes
73 vc ; version-control and Emacs, sitting in a tree
74
75 :term
76 ;;eshell ; the elisp shell that works everywhere
77 ;;shell ; simple shell REPL for Emacs
78 ;;term ; basic terminal emulator for Emacs
79 vterm ; the best terminal emulation in Emacs
80
81 :checkers
82 syntax ; tasing you for every semicolon you forget
83 ;;(spell +flyspell) ; tasing you for misspelling mispelling
84 ;;grammar ; tasing grammar mistake every you make
85
86 :tools
87 ;;ansible
88 ;;biblio ; Writes a PhD for you (citation needed)
89 ;;debugger ; FIXME stepping through code, to help you add bugs
90 ;;direnv
91 ;;docker
92 ;;editorconfig ; let someone else argue about tabs vs spaces
93 ;;ein ; tame Jupyter notebooks with emacs
94 (eval +overlay) ; run code, run (also, repls)
95 ;;gist ; interacting with github gists
96 lookup ; navigate your code and its documentation
97 ;;lsp ; M-x vscode
98 magit ; a git porcelain for Emacs
99 ;;make ; run make tasks from Emacs
100 ;;pass ; password manager for nerds
101 pdf ; pdf enhancements
102 ;;prodigy ; FIXME managing external services & code builders
103 ;;rgb ; creating color strings
104 ;;taskrunner ; taskrunner for all your projects
105 ;;terraform ; infrastructure as code
106 ;;tmux ; an API for interacting with tmux
107 ;;upload ; map local to remote projects via ssh/ftp
108
109 :os
110 (:if IS-MAC macos) ; improve compatibility with macOS
111 ;;tty ; improve the terminal Emacs experience
112
113 :lang
114 ;;agda ; types of types of types of types...
115 ;;beancount ; mind the GAAP
116 ;;cc ; C > C++ == 1
117 ;;clojure ; java with a lisp
118 ;;common-lisp ; if you've seen one lisp, you've seen them all
119 ;;coq ; proofs-as-programs
120 ;;crystal ; ruby at the speed of c
121 ;;csharp ; unity, .NET, and mono shenanigans
122 ;;data ; config/data formats
123 ;;(dart +flutter) ; paint ui and not much else
124 ;;dhall
125 ;;elixir ; erlang done right
126 ;;elm ; care for a cup of TEA?
127 emacs-lisp ; drown in parentheses
128 ;;erlang ; an elegant language for a more civilized age
129 ;;ess ; emacs speaks statistics
130 ;;factor
131 ;;faust ; dsp, but you get to keep your soul
132 ;;fsharp ; ML stands for Microsoft's Language
133 ;;fstar ; (dependent) types and (monadic) effects and Z3
134 ;;gdscript ; the language you waited for
135 (go +lsp) ; the hipster dialect
136 (haskell +lsp) ; a language that's lazier than I am
137 ;;hy ; readability of scheme w/ speed of python
138 ;;idris ; a language you can depend on
139 json ; At least it ain't XML
140 ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
141 javascript ; all(hope(abandon(ye(who(enter(here))))))
142 ;;julia ; a better, faster MATLAB
143 ;;kotlin ; a better, slicker Java(Script)
144 ;;latex ; writing papers in Emacs has never been so fun
145 ;;lean ; for folks with too much to prove
146 ;;ledger ; be audit you can be
147 lua ; one-based indices? one-based indices
148 markdown ; writing docs for people to ignore
149 ;;nim ; python + lisp at the speed of c
150 ;;nix ; I hereby declare "nix geht mehr!"
151 ;;ocaml ; an objective camel
152 org ; organize your plain life in plain text
153 php ; perl's insecure younger brother
154 ;;plantuml ; diagrams for confusing people more
155 ;;purescript ; javascript, but functional
156 python ; beautiful is better than ugly
157 ;;qt ; the 'cutest' gui framework ever
158 ;;racket ; a DSL for DSLs
159 ;;raku ; the artist formerly known as perl6
160 rest ; Emacs as a REST client
161 ;;rst ; ReST in peace
162 ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
163 ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
164 ;;scala ; java, but good
165 ;;(scheme +guile) ; a fully conniving family of lisps
166 sh ; she sells {ba,z,fi}sh shells on the C xor
167 ;;sml
168 ;;solidity ; do you need a blockchain? No.
169 ;;swift ; who asked for emoji variables?
170 ;;terra ; Earth and Moon in alignment for performance.
171 web ; the tubes
172 ;;yaml ; JSON, but readable
173 ;;zig ; C, but simpler
174
175 :email
176 (mu4e +org +gmail)
177 ;;notmuch
178 ;;(wanderlust +gmail)
179
180 :app
181 calendar
182 ;;emms
183 everywhere ; *leave* Emacs!? You must be joking
184 ;;irc ; how neckbeards socialize
185 ;;(rss +org) ; emacs as an RSS reader
186 twitter ; twitter client https://twitter.com/vnought
187
188 :config
189 ;;literate
190 (default +bindings +smartparens))
diff --git a/.doom.d/packages.el b/.doom.d/packages.el
new file mode 100644
index 0000000..a62bb6f
--- /dev/null
+++ b/.doom.d/packages.el
@@ -0,0 +1,52 @@
1(package! lsp-tailwindcss :recipe (:host github :repo "merrickluo/lsp-tailwindcss"))
2
3;; -*- no-byte-compile: t; -*-
4;;; $DOOMDIR/packages.el
5
6;; To install a package with Doom you must declare them here and run 'doom sync'
7;; on the command line, then restart Emacs for the changes to take effect -- or
8;; use 'M-x doom/reload'.
9
10
11;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
12;(package! some-package)
13
14;; To install a package directly from a remote git repo, you must specify a
15;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
16;; https://github.com/raxod502/straight.el#the-recipe-format
17;(package! another-package
18; :recipe (:host github :repo "username/repo"))
19
20;; If the package you are trying to install does not contain a PACKAGENAME.el
21;; file, or is located in a subdirectory of the repo, you'll need to specify
22;; `:files' in the `:recipe':
23;(package! this-package
24; :recipe (:host github :repo "username/repo"
25; :files ("some-file.el" "src/lisp/*.el")))
26
27;; If you'd like to disable a package included with Doom, you can do so here
28;; with the `:disable' property:
29;(package! builtin-package :disable t)
30
31;; You can override the recipe of a built in package without having to specify
32;; all the properties for `:recipe'. These will inherit the rest of its recipe
33;; from Doom or MELPA/ELPA/Emacsmirror:
34;(package! builtin-package :recipe (:nonrecursive t))
35;(package! builtin-package-2 :recipe (:repo "myfork/package"))
36
37;; Specify a `:branch' to install a package from a particular branch or tag.
38;; This is required for some packages whose default branch isn't 'master' (which
39;; our package manager can't deal with; see raxod502/straight.el#279)
40;(package! builtin-package :recipe (:branch "develop"))
41
42;; Use `:pin' to specify a particular commit to install.
43;(package! builtin-package :pin "1a2b3c4d5e")
44
45
46;; Doom's packages are pinned to a specific commit and updated from release to
47;; release. The `unpin!' macro allows you to unpin single packages...
48;(unpin! pinned-package)
49;; ...or multiple packages
50;(unpin! pinned-package another-pinned-package)
51;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
52;(unpin! t)