From 80e23505191e6d4dc5db4e4565ae4746159eadf8 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Wed, 26 Feb 2025 17:08:53 -0500 Subject: [PATCH] trying to fix localleader --- .gitignore | 1 + init.el | 229 ++++++++++++++++++++--------------------------------- 2 files changed, 89 insertions(+), 141 deletions(-) diff --git a/.gitignore b/.gitignore index 0f94f5e..0fe9e67 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store flycheck_*.el +modules/editor/meow diff --git a/init.el b/init.el index 364ddf3..a1103f6 100644 --- a/init.el +++ b/init.el @@ -14,156 +14,103 @@ ;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its ;; directory (for easy access to its source code). -(doom! :completion - (vertico +orderless +icons) ; the search engine of the future - (corfu +orderless +icons +dabbrev) +(doom! + :private + meow - :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 - (emoji +unicode) ; 🙂 - hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW - ;; indent-guides ; highlighted indent columns - (ligatures +extra) ; ligatures and symbols to make your code pretty again - minimap ; show a map of the code on the side - modeline ; snazzy, Atom-inspired modeline, plus API - nav-flash ; blink cursor line after big motions - ophints ; highlight the region an operation acts on - (popup +all +defaults) ; tame sudden yet inevitable temporary windows - tabs ; a tab bar for Emacs - (treemacs +icons) ; 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 - window-select ; visually switch windows - workspaces ; tab emulation, persistence & separate workspaces - ;;zen ; distraction-free coding or writing + :completion + (vertico +orderless +icons) ; the search engine of the future + (corfu +orderless +icons +dabbrev) - :editor - file-templates ; auto-snippets for empty files - fold ; (nigh) universal code folding - format ; automated prettiness - ;;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 + :ui + doom ; what makes DOOM look the way it does + doom-dashboard ; a nifty splash screen for Emacs + (emoji +unicode) ; 🙂 + hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW + (ligatures +extra) ; ligatures and symbols to make your code pretty again + minimap ; show a map of the code on the side + modeline ; snazzy, Atom-inspired modeline, plus API + nav-flash ; blink cursor line after big motions + ophints ; highlight the region an operation acts on + (popup +all +defaults) ; tame sudden yet inevitable temporary windows + tabs ; a tab bar for Emacs + (treemacs +icons) ; 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 + window-select ; visually switch windows + workspaces ; tab emulation, persistence & separate workspaces - :emacs - (dired) ; making dired pretty [functional] - electric ; smarter, keyword-based electric-indent - (ibuffer) ; interactive buffer management - undo ; persistent, smarter undo for your inevitable mistakes - vc ; version-control and Emacs, sitting in a tree + :editor + file-templates ; auto-snippets for empty files + fold ; (nigh) universal code folding + format ; automated prettiness + parinfer ; turn lisp into python, sort of + snippets ; my elves. They type so I don't have to + word-wrap ; soft wrapping with language-aware indent - :term - vterm ; the best terminal emulation in Emacs + :emacs + (dired) ; making dired pretty [functional] + electric ; smarter, keyword-based electric-indent + (ibuffer) ; interactive buffer management + undo ; persistent, smarter undo for your inevitable mistakes + vc ; version-control and Emacs, sitting in a tree - :checkers - syntax ; tasing you for every semicolon you forget - (spell +flyspell) ; tasing you for misspelling mispelling + :term + vterm ; the best terminal emulation in Emacs - :tools - biblio ; Writes a PhD for you (citation needed) - debugger ; FIXME stepping through code, to help you add bugs - direnv - docker - editorconfig ; let someone else argue about tabs vs spaces - ein ; tame Jupyter notebooks with emacs - (eval +overlay) ; run code, run (also, repls) - (lookup +dictionary +offline +docsets) ; navigate your code and its documentation - (lsp +eglot) ; M-x vscode - magit ; a git porcelain for Emacs - make ; run make tasks from Emacs - pdf ; pdf enhancements - ;;terraform ; infrastructure as code - tree-sitter ; syntax and parsing, sitting in a tree... - upload ; map local to remote projects via ssh/ftp + :checkers + syntax ; tasing you for every semicolon you forget + (spell +flyspell) ; tasing you for misspelling mispelling - :os - ;;(:if IS-MAC macos) ; improve compatibility with macOS - tty ; improve the terminal Emacs experience + :tools + biblio ; Writes a PhD for you (citation needed) + debugger ; FIXME stepping through code, to help you add bugs + direnv + docker + editorconfig ; let someone else argue about tabs vs spaces + ein ; tame Jupyter notebooks with emacs + (eval +overlay) ; run code, run (also, repls) + (lookup +dictionary +offline +docsets) ; navigate your code and its documentation + (lsp +eglot) ; M-x vscode + magit ; a git porcelain for Emacs + make ; run make tasks from Emacs + pdf ; pdf enhancements + tree-sitter ; syntax and parsing, sitting in a tree... + upload ; map local to remote projects via ssh/ftp - :lang - ;;agda ; types of types of types of types... - ;;beancount ; mind the GAAP - (cc +lsp +tree-sitter) - common-lisp ; if you've seen one lisp, you've seen them all - (clojure +lsp +tree-sitter) - ;;coq ; proofs-as-programs - ;;crystal ; ruby at the speed of c - ;;csharp ; unity, .NET, and mono shenanigans - data ; config/data formats - ;;(dart +flutter) ; paint ui and not much else - ;;dhall - ;;elixir ; erlang done right - ;; elm ; care for a cup of TEA? - emacs-lisp ; drown in parentheses - ;;erlang ; an elegant language for a more civilized age - ;;ess ; emacs speaks statistics - ;;factor - ;;faust ; dsp, but you get to keep your soul - ;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER) - ;;fsharp ; ML stands for Microsoft's Language - ;;fstar ; (dependent) types and (monadic) effects and Z3 - gdscript ; the language you waited for - ;;(go +lsp) ; the hipster dialect - ;;(graphql +lsp) ; Give queries a REST - ;; (haskell +lsp +tree-sitter) ; a language that's lazier than I am - ;;hy ; readability of scheme w/ speed of python - ;;idris ; a language you can depend on - (json +lsp +tree-sitter) ; At least it ain't XML - (java +lsp +tree-sitter) ; the poster child for carpal tunnel syndrome - (javascript +lsp +tree-sitter) ; 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 +tree-sitter) ; one-based indices? one-based indices - (markdown +tree-sitter) ; writing docs for people to ignore - ;;nim ; python + lisp at the speed of c - (nix +treesitter +lsp) ; I hereby Declare "nix geht mehr!" - ;;ocaml ; an objective camel - (org +pretty +dragndrop) ; organize your plain life in plain text - (php +tree-sitter) ; perl's insecure younger brother - ;;plantuml ; diagrams for confusing people more - ;; purescript ; javascript, but functional - (python +lsp +tree-sitter) ; beautiful is better than ugly - ;;qt ; the 'cutest' gui framework ever - (racket +lsp) ; a DSL for DSLs - ;;raku ; the artist formerly known as perl6 - ;;rest ; Emacs as a REST client - ;;rst ; ReST in peace - (ruby +tree-sitter) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - (rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() - ;;scala ; java, but good - (scheme +guile) ; a fully conniving family of lisps - (sh +lsp +tree-sitter) ; 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 +lsp +tree-sitter) - (yaml +tree-sitter) ; JSON, but readable - ;; (zig +lsp) ; C, but simpler + :os + tty ; improve the terminal Emacs experience - :email - (mu4e +mbsync) + :lang + (cc +lsp +tree-sitter) + common-lisp ; if you've seen one lisp, you've seen them all + (clojure +lsp +tree-sitter) + data ; config/data formats + emacs-lisp ; drown in parentheses + gdscript ; the language you waited for + (json +lsp +tree-sitter) ; At least it ain't XML + (java +lsp +tree-sitter) ; the poster child for carpal tunnel syndrome + (javascript +lsp +tree-sitter) ; all(hope(abandon(ye(who(enter(here)))))) + (lua +tree-sitter) ; one-based indices? one-based indices + (markdown +tree-sitter) ; writing docs for people to ignore + (nix +treesitter +lsp) ; I hereby Declare "nix geht mehr!" + (org +pretty +dragndrop) ; organize your plain life in plain text + (php +tree-sitter) ; perl's insecure younger brother + (python +lsp +tree-sitter) ; beautiful is better than ugly + (racket +lsp) ; a DSL for DSLs + (ruby +tree-sitter) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} + (rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + (scheme +guile) ; a fully conniving family of lisps + (sh +lsp +tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor + (web +lsp +tree-sitter) + (yaml +tree-sitter) ; JSON, but readable - :app - ;;calendar - ;;emms - ;;everywhere ; *leave* Emacs!? You must be joking - ;;irc ; how neckbeards socialize - ;; (rss +org) ; emacs as an RSS reader + :email + (mu4e +mbsync) - :config - (default +smartparens) + :app + ;;calendar - :private - meow) + :config + (default +smartparens))