Commit Graph

695 Commits

Author SHA1 Message Date
Madeleine Sydney b86ba2081a feat: Alias hosts guix-rebound & deertopia 2025-01-17 20:00:40 -07:00
Madeleine Sydney 26abf87385 Merge emacs-from-scratch into main 2025-01-17 19:11:55 -07:00
Madeleine Sydney 95e591a144 feat: Project management
I might switch back to Projectile later. }:\
2025-01-17 16:28:45 -07:00
Madeleine Sydney 3bc75e3a25 fix: It's vc-follow-symlinks, not vc-follow-link 2025-01-17 16:28:45 -07:00
Madeleine Sydney 3f55a31a62 feat: Evil: Make C-u scroll 2025-01-17 16:28:45 -07:00
Madeleine Sydney 2193ef3779 feat: Follow VC'd symlinks w/o confirmation 2025-01-17 16:28:45 -07:00
Madeleine Sydney b47cc6809d feat: Always ask y/n instead of yes/no 2025-01-17 16:28:45 -07:00
Madeleine Sydney eeb6b3b716 fix: Keep autosaves out of my config dir 2025-01-17 16:28:45 -07:00
Madeleine Sydney 180ca81b55 refactor: Adjust persistent-scratch's hook 2025-01-17 16:28:45 -07:00
Madeleine Sydney e84be48f71 feat: Add embark-consult 2025-01-17 16:28:45 -07:00
Madeleine Sydney 0aecbd42cc feat: Add more window bindings
Diff is simple — go check it. }:)
2025-01-17 16:28:45 -07:00
Madeleine Sydney c61c939f6c feat: Redirect custom file to cache dir 2025-01-17 16:28:45 -07:00
Madeleine Sydney 7d7c97fc7b feat: Configure display of line numbers 2025-01-17 16:28:45 -07:00
Madeleine Sydney 3ecff5e898 feat: Add :defer-incrementally
Adds org-mode module for the sake of testing it.
2025-01-17 16:28:45 -07:00
Madeleine Sydney f08870dbc9 fix: Change deferral of persistent-scratch
- Previously caused issues when switching to your first buffer
2025-01-17 16:28:45 -07:00
Madeleine Sydney 778692c9e0 feat: Keep eln-cache out of my config directory.
For early-init reasons, we had to split part of syd-prelude.el out into a new
file, syd-constants.el.
2025-01-17 16:28:45 -07:00
Madeleine Sydney 386779ce9b feat: Customise scratch buffer 2025-01-17 16:28:45 -07:00
Madeleine Sydney 76828c173a wip: feat: Delete file 2025-01-17 16:28:45 -07:00
Madeleine Sydney 65dd7b3967 feat: Add Smartparens 2025-01-17 16:28:45 -07:00
Madeleine Sydney 569c630917 tidy: Tidy readme 2025-01-17 16:28:45 -07:00
Madeleine Sydney 5fd6e101af feat: More completion things
- Further configure Orderless
  - Configure Orderless dispatch stuff
- Further configure Vertico
- Add & configure Embark
  - Integrate w/ which-key
- Move General into its own feature (syd-general), for easy import by other
  modules.
2025-01-17 16:28:45 -07:00
Madeleine Sydney 55c3db8db5 refactor: Reduce init time }:)
- Greatly increase gc-cons-threshold.  This is the biggest win of this commit, shaving off about 400 ms.  The GC runs a single time during init.
- Sprinkle a few `:defer t`s throughout.

wwwwfeat: Configure Orderless
2025-01-17 16:28:45 -07:00
Madeleine Sydney 224b2ee044 refactor: Split out completion stuff 2025-01-17 16:28:45 -07:00
Madeleine Sydney ddf245cd52 feat: Age.el 2025-01-17 16:28:45 -07:00
Madeleine Sydney d3fbc8442b feat: Various completion additions
- Add `vertico-mode` keybindings.
- Unmap `C-k` in insert state.
2025-01-17 16:28:45 -07:00
Madeleine Sydney 7683acd80a feat: Add keybinding stubs 2025-01-17 16:28:45 -07:00
Madeleine Sydney 1ca55bc377 feat: Set evil-want-Y-yank-to-eol and evil-want-C-w-in-emacs-state 2025-01-17 16:28:45 -07:00
Madeleine Sydney f8ef9b938c doc: Document which-key deferral bug 2025-01-17 16:28:45 -07:00
Madeleine Sydney 0a2d600b17 fix: Previously, alt-leader was used where leader should've been 2025-01-17 16:28:45 -07:00
Madeleine Sydney 3afc9c2e0e fix: Disable evil `evil-ex-visual-char-range' 2025-01-17 16:28:45 -07:00
Madeleine Sydney 21fa5a8a0c fix: evil-visualstar's '#' shan't take precedence over nerd-commenter 2025-01-17 16:28:45 -07:00
Madeleine Sydney 94197e19b3 feat: Add package evil-visualstar 2025-01-17 16:28:45 -07:00
Madeleine Sydney 4366fa163d feat: Leader key and General.el 2025-01-17 16:28:45 -07:00
Madeleine Sydney f788cd8b34 feat: Improve Straight.el startup time 2025-01-17 16:28:45 -07:00
Madeleine Sydney ca8ddd8f44 fix: Properly persist Straight.el dir 2025-01-17 16:28:45 -07:00
Madeleine Sydney ab10e0ca56 wip: feat: Defer many packages
Shaving MILLISECONDS off our startup time!!!  Fuck yes!

I've measured the average startup time to be 0.68s in the previous commit, and an average of 0.52 with this commit.
2025-01-17 16:28:45 -07:00
Madeleine Sydney 27e78453e3 wip: feat: Tune evil-snipe settings 2025-01-17 16:28:45 -07:00
Madeleine Sydney cc759a73ea wip: feat: Autosaving and recent files 2025-01-17 16:28:45 -07:00
Madeleine Sydney ae74a9a15a wip: fix: Fix and refactor emacs-wrapper and Straight.el things 2025-01-17 16:28:45 -07:00
Madeleine Sydney 1262b8049f wip: feat: Various UI things 2025-01-17 16:28:45 -07:00
Madeleine Sydney f02eded7fc wip: feat: Basic evil-mode configuration
Clocking in at only 15 packages, so far...
2025-01-17 16:28:45 -07:00
Madeleine Sydney bfd271125e wip: refactor: Break init.el into modules
Currently, we will just throw everything into modules/ and require it.  As the
Emacs config grows in complexity, we can make the minor improvement to require
everything under glob modules/*.el without explicitly naming each feature.
Further, one could easily imagine a module system with conditionals and flags à
la Doom.
2025-01-17 16:28:45 -07:00
Madeleine Sydney 1aee1366c2 wip: feat: Just use straight.el...
Every Nixy solution I could find or conceive had too many points spread across
these various facets:
  - Flimsy (emacsWithPackagesFromUsePackage)
  - Inelegant (builtins.exec, manual listings)
  - Inflexible (emacsWithPackagesFromUsePackage)
  - Otherwise unergonomic (everything }:D)

Straight.el is sufficiently declarative, flexible, and Nix-friendly without
blindly bowing down to the imperialist NixOS user.  Now, Convenience and
ergonomics shan't be forsaken for the dogma that is total Nixation.
2025-01-17 16:28:45 -07:00
Madeleine Sydney b23492e42b wip: feat: Emacs config (from scratch }:3)
Working:
  - The daemon
  - Mutable config — well, kinda. I'm not yet sure how it will interact with
    `emacsWithPackagesFromUsePackage`.
  - Packages via Nixpkgs
2025-01-17 16:28:45 -07:00
Madeleine Sydney c3cecf6a1c wip: feat: Add deertopia.net host 2025-01-17 16:28:45 -07:00
Madeleine Sydney dc481e125f fix: Update readme to reflect users -> vault rename 2025-01-16 11:06:45 -07:00
Madeleine Sydney d029498349 fix: java.sh -> babashka.process/shell
Previously, the rebuild command would not report to stdout/stderr.
2025-01-14 21:52:22 -07:00
Madeleine Sydney 0e9bad81ee refactor: Rename sydnix → sydnix-cli 2025-01-14 21:44:21 -07:00
Madeleine Sydney 29fd94f9e2 feat: Use GraalVM to beat Clojure startup times
Required a patch[1] to spec-dict.  Something about GraalVM initialisation and
Clojure files without packages (i.e. single-level namespaced files).  I don't
know!

[1]: https://github.com/msyds/spec-dict/commit/531d629b7f05f37232261cf9e8927a4b5915714f
2025-01-14 20:24:07 -07:00
Madeleine Sydney 8674027ae1 wip: feat: Gen man pages 2025-01-14 14:13:03 -07:00