Remove unneeded example init.el comments

This commit is contained in:
Marien Zwart 2024-05-11 20:43:55 +10:00
parent fe4b632478
commit d216451849
No known key found for this signature in database

View file

@ -1,3 +1,5 @@
;;; init.el -*- lexical-binding: t; -*-
;; Copyright 2024 Google LLC ;; Copyright 2024 Google LLC
;; ;;
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; Licensed under the Apache License, Version 2.0 (the "License");
@ -12,198 +14,89 @@
;; See the License for the specific language governing permissions and ;; See the License for the specific language governing permissions and
;; limitations under the License. ;; limitations under the License.
;;; init.el -*- lexical-binding: t; -*- (doom! :completion
(company +childframe)
;; 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! :input
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
;;chinese
;;japanese
;;layout ; auie,ctsrnm is the superior home row
:completion
(company +childframe) ; the ultimate code completion backend
(corfu +orderless +icons +dabbrev) (corfu +orderless +icons +dabbrev)
;;helm ; the *other* search engine for love and life vertico
;;ido ; the other *other* search engine...
;;ivy ; a search engine for love and life
vertico ; the search engine of the future
:ui :ui
;;deft ; notational velocity for Emacs doom
doom ; what makes DOOM look the way it does doom-dashboard
doom-dashboard ; a nifty splash screen for Emacs (emoji +unicode)
;;doom-quit ; DOOM quit-message prompts when you quit Emacs hl-todo
(emoji +unicode) ; 🙂
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
hydra hydra
;;indent-guides ; highlighted indent columns modeline
;;ligatures ; ligatures and symbols to make your code pretty again nav-flash
;;minimap ; show a map of the code on the side ophints
modeline ; snazzy, Atom-inspired modeline, plus API (popup +defaults)
nav-flash ; blink cursor line after big motions (vc-gutter +pretty +diff-hl)
;;neotree ; a project drawer, like NERDTree for vim window-select
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
;;tabs ; a tab bar for Emacs
;;treemacs ; a project drawer, like neotree but cooler
;;unicode ; extended unicode support for various languages
(vc-gutter +pretty +diff-hl) ; vcs diff in the fringe
;;vi-tilde-fringe ; fringe tildes to mark beyond EOB
window-select ; visually switch windows
;;workspaces ; tab emulation, persistence & separate workspaces
;;zen ; distraction-free coding or writing
:editor :editor
evil ; come to the dark side, we have cookies evil
file-templates ; auto-snippets for empty files file-templates
;;fold ; (nigh) universal code folding format
format ; automated prettiness snippets
;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once
;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to
;;word-wrap ; soft wrapping with language-aware indent
:emacs :emacs
dired ; making dired pretty [functional] dired
electric ; smarter, keyword-based electric-indent electric
ibuffer ; interactive buffer management ibuffer
undo ; persistent, smarter undo for your inevitable mistakes undo
vc ; version-control and Emacs, sitting in a tree vc
:term :term
eshell ; the elisp shell that works everywhere eshell
;;shell ; simple shell REPL for Emacs vterm
;;term ; basic terminal emulator for Emacs
vterm ; the best terminal emulation in Emacs
:checkers :checkers
(syntax +childframe) ; tasing you for every semicolon you forget (syntax +childframe)
spell ; tasing you for misspelling mispelling spell
;;grammar ; tasing grammar mistake every you make
:tools :tools
;;ansible
;;biblio ; Writes a PhD for you (citation needed)
;;collab ; buffers with friends
;;debugger ; FIXME stepping through code, to help you add bugs
direnv direnv
;;docker editorconfig
editorconfig ; let someone else argue about tabs vs spaces (eval +overlay)
;;ein ; tame Jupyter notebooks with emacs (lookup +docsets)
(eval +overlay) ; run code, run (also, repls) (lsp +peek)
(lookup +docsets) ; navigate your code and its documentation (magit +forge)
(lsp +peek) ; M-x vscode taskrunner
(magit +forge) ; 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 ; syntax and parsing, sitting in a tree...
;;upload ; map local to remote projects via ssh/ftp
:os :os
(:if (featurep :system 'macos) macos) ; improve compatibility with macOS (:if (featurep :system 'macos) macos)
(tty +osc) ; improve the terminal Emacs experience (tty +osc)
:lang :lang
;;agda ; types of types of types of types... (cc +lsp)
;;beancount ; mind the GAAP csharp
(cc +lsp) ; C > C++ == 1 data
;;clojure ; java with a lisp (dart +flutter +lsp)
;;common-lisp ; if you've seen one lisp, you've seen them all emacs-lisp
;;coq ; proofs-as-programs (go +lsp)
;;crystal ; ruby at the speed of c (graphql +lsp)
csharp ; unity, .NET, and mono shenanigans (haskell +lsp)
data ; config/data formats json
(dart +flutter +lsp) ; paint ui and not much else (java +lsp)
;;dhall (javascript +lsp)
;;elixir ; erlang done right latex
;;elm ; care for a cup of TEA? lua
emacs-lisp ; drown in parentheses markdown
;;erlang ; an elegant language for a more civilized age (nix +lsp)
;;ess ; emacs speaks statistics (org +pretty)
;;factor (python +lsp +pyright +cython)
;;faust ; dsp, but you get to keep your soul (ruby +rails)
;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER) (rust +lsp)
;;fsharp ; ML stands for Microsoft's Language (scheme +guile)
;;fstar ; (dependent) types and (monadic) effects and Z3 (sh +fish)
;;gdscript ; the language you waited for (web +css +html)
(go +lsp) ; the hipster dialect yaml
(graphql +lsp) ; Give queries a REST
(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
json ; At least it ain't XML
(java +lsp) ; the poster child for carpal tunnel syndrome
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
latex ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
(nix +lsp) ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
(org +pretty) ; organize your plain life in plain text
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
(python +lsp +pyright +cython) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client
;;rst ; ReST in peace
(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
(scheme +guile) ; a fully conniving family of lisps
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
;;sml
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
(web +css +html) ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler
:email :email
(mu4e +org +gmail) (mu4e +org +gmail)
;;notmuch
(wanderlust +gmail) (wanderlust +gmail)
:app :app
;;calendar (rss +org)
;;emms
;;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 :config
;;literate
(default +bindings +smartparens)) (default +bindings +smartparens))