tweak(doom): miscellaneous updates to init.el/config.el

This commit is contained in:
Infinidoge 2022-03-21 00:57:18 -04:00
parent 930f7a0b86
commit 7ae02785b2
2 changed files with 69 additions and 67 deletions

View file

@ -109,6 +109,7 @@
;; '(evil-goggles-default-face ((t (:inherit 'highlight))))) ;; '(evil-goggles-default-face ((t (:inherit 'highlight)))))
;; --- Nix --- ;; --- Nix ---
;; FIXME: This should be done using :editor format
(set-formatter! 'nixpkgs-fmt "nixpkgs-fmt" :modes '(nix-mode)) (set-formatter! 'nixpkgs-fmt "nixpkgs-fmt" :modes '(nix-mode))
(defun infinidoge/nixpkgs-fmt-fix () (defun infinidoge/nixpkgs-fmt-fix ()

View file

@ -14,16 +14,13 @@
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its ;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
;; directory (for easy access to its source code). ;; directory (for easy access to its source code).
(doom! :input (doom!
;;chinese
;;japanese
;;layout ; auie,ctsrnm is the superior home row
:completion :completion
company ; the ultimate code completion backend company ; the ultimate code completion backend TODO: Consider +childframe
;;helm ; the *other* search engine for love and life ;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine... ;;ido ; the other *other* search engine...
ivy ; a search engine for love and life (ivy +icons) ; a search engine for love and life TODO: Consider +childrame, +fuzzy, +prescient
(vertico +icons)
:ui :ui
deft ; notational velocity for Emacs deft ; notational velocity for Emacs
@ -41,7 +38,7 @@
;;neotree ; a project drawer, like NERDTree for vim ;;neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows (popup +defaults) ; tame sudden yet inevitable temporary windows
(tabs +centaur-tabs) ; a tab bar for Emacs (tabs +centaur-tabs); a tab bar for Emacs
treemacs ; a project drawer, like neotree but cooler treemacs ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe vc-gutter ; vcs diff in the fringe
@ -51,24 +48,25 @@
;;zen ; distraction-free coding or writing ;;zen ; distraction-free coding or writing
:editor :editor
(evil +everywhere); come to the dark side, we have cookies (evil +everywhere) ; come to the dark side, we have cookies
file-templates ; auto-snippets for empty files file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding fold ; (nigh) universal code folding
(format +onsave) ; automated prettiness (format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys ;;god ; run Emacs commands without modifier keys
lispy ; vim for lisp, for people who don't like vim lispy ; vim for lisp, for people who don't like vim
multiple-cursors ; editing in many places at once multiple-cursors ; editing in many places at once
;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of ;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates ;;rotate-text ; cycle region at point between text candidates TODO: Consider enabling
snippets ; my elves. They type so I don't have to snippets ; my elves. They type so I don't have to
;;word-wrap ; soft wrapping with language-aware indent ;;word-wrap ; soft wrapping with language-aware indent
:emacs :emacs
dired ; making dired pretty [functional] (dired ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent +ranger
ibuffer ; interactive buffer management +icons)
undo ; persistent, smarter undo for your inevitable mistakes ;; electric ; smarter, keyword-based electric-indent
(ibuffer +icons) ; interactive buffer management
(undo +tree) ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree vc ; version-control and Emacs, sitting in a tree
:term :term
@ -79,7 +77,10 @@
:checkers :checkers
syntax ; tasing you for every semicolon you forget syntax ; tasing you for every semicolon you forget
(spell +flyspell +aspell +everywhere) ; tasing you for misspelling mispelling (spell
+flyspell
+aspell
+everywhere)
;;grammar ; tasing grammar mistake every you make ;;grammar ; tasing grammar mistake every you make
:tools :tools
@ -146,7 +147,7 @@
nim ; python + lisp at the speed of c nim ; python + lisp at the speed of c
nix ; I hereby declare "nix geht mehr!" nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel ;;ocaml ; an objective camel
(org ;; organize your plain life in plain text (org ; organize your plain life in plain text
+dragndrop +dragndrop
;; +jupyter ;; +jupyter
+pretty +pretty