diff options
| author | Christian Cleberg <[email protected]> | 2026-02-15 18:09:57 -0600 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-02-15 18:18:07 -0600 |
| commit | 590cb005999e9e9d497bf67aa40d6a7a78cc0f1f (patch) | |
| tree | 37390304688c33ff237aacfea1ac5722d4e25a03 /common/doom | |
| parent | c3e1b1896ab156f6fa1529ebd630b065eff42efa (diff) | |
| download | dotfiles-590cb005999e9e9d497bf67aa40d6a7a78cc0f1f.tar.gz dotfiles-590cb005999e9e9d497bf67aa40d6a7a78cc0f1f.tar.bz2 dotfiles-590cb005999e9e9d497bf67aa40d6a7a78cc0f1f.zip | |
split files into common, linux, and macos directories
Diffstat (limited to 'common/doom')
| -rw-r--r-- | common/doom/.config/doom/config.el | 49 | ||||
| -rw-r--r-- | common/doom/.config/doom/custom.el | 7 | ||||
| -rw-r--r-- | common/doom/.config/doom/init.el | 83 | ||||
| -rw-r--r-- | common/doom/.config/doom/packages.el | 5 |
4 files changed, 144 insertions, 0 deletions
diff --git a/common/doom/.config/doom/config.el b/common/doom/.config/doom/config.el new file mode 100644 index 0000000..fb216eb --- /dev/null +++ b/common/doom/.config/doom/config.el @@ -0,0 +1,49 @@ +;;; $DOOMDIR/config.el -*- lexical-binding: t; -*- + +;; User Information +(setq user-full-name "Christian Cleberg" + user-mail-address "[email protected]") + +;; Visuals +(setq doom-theme 'doom-homage-black) +(setq display-line-numbers-type t) + +;; Corfu +(after! corfu + (setq corfu-auto t ; Enable auto-completion + corfu-auto-delay 0.1 ; Shorter delay (default is 0.2) + corfu-auto-prefix 2 ; Complete after 2 characters + corfu-quit-at-boundary t) ; Quit when hitting space/non-matching + (add-hook 'doom-first-input-hook #'global-corfu-mode)) + +;; Org-Mode & Roam +(setq org-directory "~/Documents/notes/") +(setq org-roam-directory (file-name-concat org-directory "roam")) + +(after! org + (setq org-hide-emphasis-markers t + org-appearance-autolinks t + org-pretty-entities t + org-agenda-files '("~/Documents/notes/"))) + +(setq org-capture-templates + '(("t" "Personal todo" entry + (file+headline "~/Documents/notes/todo.org" "Inbox") + "* TODO %?\n%i\n%a") + ("n" "Personal notes" entry + (file+headline "~/Documents/notes/notes.org" "Inbox") + "* %u %?\n%i\n%a"))) + +;; Abbreviations +(setq-default abbrev-mode t) +(define-abbrev-table 'global-abbrev-table + '( + ;; ("abbreviation" "expansion") + ("omw" "on my way") + ("eml" "[email protected]") + ("shrg" "¯\_(ツ)_/¯") + ("teh" "the") + ("xtoday" "" (lambda () (insert (format-time-string "%Y-%m-%d %H:%M:%S")))) + ("xnow" "" (lambda () (insert (format-time-string "%H:%M:%S")))) + )) + diff --git a/common/doom/.config/doom/custom.el b/common/doom/.config/doom/custom.el new file mode 100644 index 0000000..e503a83 --- /dev/null +++ b/common/doom/.config/doom/custom.el @@ -0,0 +1,7 @@ +;;; -*- lexical-binding: t -*- +(custom-set-variables + '(custom-safe-themes + '("6963de2ec3f8313bb95505f96bf0cf2025e7b07cefdb93e3d2e348720d401425" + "2f8af2a3a2fae6b6ea254e7aab6f3a8b5c936428b67869cef647c5f8e7985877" default))) +(custom-set-faces + ) diff --git a/common/doom/.config/doom/init.el b/common/doom/.config/doom/init.el new file mode 100644 index 0000000..2f9b817 --- /dev/null +++ b/common/doom/.config/doom/init.el @@ -0,0 +1,83 @@ +;;; init.el -*- lexical-binding: t; -*- + +(doom! :input + :completion + (corfu +orderless) ; complete with cap(f), cape and a flying feather! + 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 + indent-guides ; highlighted indent columns + minimap ; show a map of the code on the side + modeline ; snazzy, Atom-inspired modeline, plus API + ophints ; highlight the region an operation acts on + (popup +defaults) ; tame sudden yet inevitable temporary windows + smooth-scroll ; So smooth you won't believe it's not butter + tabs ; a tab bar for Emacs + treemacs ; a project drawer, like neotree but cooler + unicode ; extended unicode support for various languages + (vc-gutter +pretty) ; vcs diff in the fringe + vi-tilde-fringe ; fringe tildes to mark beyond EOB + workspaces ; tab emulation, persistence & separate workspaces + zen ; distraction-free coding or writing + + :editor + (evil +everywhere); come to the dark side, we have cookies + file-templates ; auto-snippets for empty files + fold ; (nigh) universal code folding + (format +onsave) ; automated prettiness + snippets ; my elves. They type so I don't have to + (whitespace +guess +trim) ; a butler for your whitespace + + :emacs + dired ; making dired pretty [functional] + electric ; smarter, keyword-based electric-indent + eww ; the internet is gross + tramp ; remote files at your arthritic fingertips + undo ; 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 + (spell +flyspell) ; tasing you for misspelling mispelling + grammar ; tasing grammar mistake every you make + + :tools + docker + editorconfig ; let someone else argue about tabs vs spaces + ein ; tame Jupyter notebooks with emacs + (eval +overlay) ; run code, run (also, repls) + lookup ; navigate your code and its documentation + llm ; when I said you needed friends, I didn't mean... + (lsp +eglot) ; M-x vscode + magit ; a git porcelain for Emacs + tree-sitter ; syntax and parsing, sitting in a tree... + + :os + (:if (featurep :system 'macos) macos) ; improve compatibility with macOS + tty ; improve the terminal Emacs experience + + :lang + data ; config/data formats + emacs-lisp ; drown in parentheses + json ; At least it ain't XML + javascript ; all(hope(abandon(ye(who(enter(here)))))) + markdown ; writing docs for people to ignore + (org +dragndrop ; drag & drop images/files into org + +journal ; daily logging + +noter ; for annotating PDFs (great for research) + +roam2) ; Zettelkasten note-taking + python ; beautiful is better than ugly + sh ; she sells {ba,z,fi}sh shells on the C xor + + :app + calendar + + :config + (default +bindings +smartparens)) diff --git a/common/doom/.config/doom/packages.el b/common/doom/.config/doom/packages.el new file mode 100644 index 0000000..cfdd1a0 --- /dev/null +++ b/common/doom/.config/doom/packages.el @@ -0,0 +1,5 @@ +;; -*- no-byte-compile: t; -*- +;;; $DOOMDIR/packages.el + +(package! htmlize) +(package! weblorg) |
