Skip to content

Commit

Permalink
Update emacs config.
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmannf committed Oct 19, 2024
1 parent b501a7d commit 65188c9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
6 changes: 6 additions & 0 deletions roles/emacs/templates/doom-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,9 @@
(setq value (match-string 2 cur))
(setenv var value))
(setq lst (cdr lst)))))

(defun doom/ediff-init-and-example ()
"ediff the current `init.el' with the example in doom-emacs-dir"
(interactive)
(ediff-files (concat doom-private-dir "init.el")
(concat doom-emacs-dir "templates" "/" "init.example.el")))
22 changes: 10 additions & 12 deletions roles/emacs/templates/doom-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
;;layout ; auie,ctsrnm is the superior home row

:completion
company ; the ultimate code completion backend
;;company ; the ultimate code completion backend
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine...
;;ivy ; a search engine for love and life
Expand All @@ -33,9 +34,7 @@
doom-dashboard ; a nifty splash screen for Emacs
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
;;(emoji +unicode) ; 🙂
;;fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
hydra
;;indent-guides ; highlighted indent columns
;;ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
Expand Down Expand Up @@ -70,7 +69,8 @@
:emacs
dired ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
;;ibuffer ; interactive buffer management
;;eww ; the internet is gross
;;ibuffer ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree

Expand All @@ -86,24 +86,22 @@
;;grammar ; tasing grammar mistake every you make

:tools
ansible
;; biblio
debugger ; FIXME stepping through code, to help you add bugs
;;ansible
;;biblio ; Writes a PhD for you (citation needed)
;;collab ; buffers with friends
debugger ; FIXME stepping through code, to help you add bugs
direnv
docker
editorconfig ; let someone else argue about tabs vs spaces
editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
(lsp +eglot)
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
;;pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects
;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux
tree-sitter
Expand Down Expand Up @@ -160,6 +158,7 @@
+roam2)
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;graphviz ; diagrams for confusing yourself even more
;;purescript ; javascript, but functional
(python ; beautiful is better than ugly
+poetry
Expand Down Expand Up @@ -194,7 +193,6 @@
;;everywhere ; *leave* Emacs!? You must be joking
;;irc ; how neckbeards socialize
;;(rss +org) ; emacs as an RSS reader
;;twitter ; twitter client https://twitter.com/vnought

:config
;;literate
Expand Down

0 comments on commit 65188c9

Please sign in to comment.