Skip to content

Borderliner/Chadmacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—Ώ Chadmacs

Borderliner’s ultra-clean, ultra-fast, ultra-chad Emacs setup.

Minimal chrome. Smooth UI. Modern completion. LSP ready. Tree-sitter powered.

Chadmacs


⚑ Philosophy

Chadmacs is built around a few non-negotiables:

  • πŸš€ Fast startup
  • 🧼 Clean visuals (no visual noise)
  • πŸ“¦ Reproducible package management (Elpaca)
  • 🧠 Modern completion stack (Vertico + Orderless + Consult + Embark + Corfu)
  • 🌲 Tree-sitter first
  • πŸ’Ύ Proper persistence (everything in ~/.emacs.d/var/)

No spaghetti. No distro bloat. Just Emacs β€” refined.


πŸ— Architecture

~/.emacs.d/
β”œβ”€β”€ early-init.el
β”œβ”€β”€ init.el
└── var/
    β”œβ”€β”€ elpaca/
    β”œβ”€β”€ eln/
    β”œβ”€β”€ backup/
    β”œβ”€β”€ auto-save/
    β”œβ”€β”€ history
    β”œβ”€β”€ recentf
    β”œβ”€β”€ places
    β”œβ”€β”€ tree-sitter/
    └── ...

All generated state lives inside var/.

Your config stays clean. Your git repo stays clean. Your soul stays clean.


πŸš€ Features

🧼 Clean UI

  • No menu bar
  • No tool bar
  • No scroll bars
  • Internal frame padding
  • Slim fringes
  • Nano modeline
  • Doom Monokai Pro theme
  • JetBrainsMono Nerd Font
  • Clean truncation glyphs (…)

🧠 Completion Stack

Tool Purpose
Vertico Vertical completion UI
Orderless Flexible matching
Consult Rich commands (M-x, grep, buffers, etc.)
Embark Context actions (C-.)
Marginalia Annotations
Corfu In-buffer completion
Cape Extra completion sources

Modern. Fast. Cohesive.

πŸ§‘β€πŸ’» Dev Setup

  • Eglot (LSP)
  • Flycheck + posframe
  • Apheleia (formatting)
  • Tree-sitter auto install
  • Magit
  • Diff-hl
  • Treemacs

πŸ“ Editing Enhancements

  • undo-fu + session persistence
  • Yasnippet
  • Strip trailing whitespace
  • Aggressive indent (Lisp)
  • Paredit

πŸ’Ύ Session & Persistence

  • easysession (workspace restore)
  • savehist
  • save-place
  • recentf
  • bookmark persistence
  • tramp history

Everything survives restarts.


πŸ”§ Installation

1️⃣ Backup old config

mv ~/.emacs.d ~/.emacs.d.backup

2️⃣ Clone Chadmacs

git clone https://github.com/Borderliner/Chadmacs.git ~/.emacs.d

3️⃣ Launch Emacs

πŸͺ„ First launch bootstraps Elpaca automatically.

🍳 Sit back. Let it cook.

βŒ› After Elpaca installation, check async-compilation buffer (C-x b), and wait for everything to be compiled.

πŸ” Once done, ignore warnings, Restart Emacs.


🧭 Keybindings Cheat Sheet

πŸͺŸ Frames

Key Action
M-n New frame
`M-`` Switch frame
M-RET Toggle fullscreen

πŸ—‚ Files / Buffers

Key Action
C-x b Consult buffer
C-x C-r Recent files
M-s d Find files
M-s r Ripgrep

⚑ Actions

Key Action
C-. Embark act
C-; Embark dwim

🧠 LSP

Auto-starts in:

  • c-mode
  • c++-mode
  • csharp-ts-mode

Common commands:

Command What it does
M-g i Imenu
M-g r References
eglot-rename Rename symbol
eglot-format-buffer Format buffer

🌲 Tree-sitter

Grammars auto-install (prompt mode).

Stored in:

~/.emacs.d/var/tree-sitter/

Custom C# recipe included.


🎨 UI Customization

Change Font

Inside init.el:

(set-face-attribute 'default nil :font "JetBrainsMono Nerd Font" :height 110)

Change Theme

Replace:

(load-theme 'doom-monokai-pro t)

With another Doom theme.


πŸ§ͺ Performance Tricks

  • πŸš€ GC threshold raised during startup
  • πŸš€ File-name handlers disabled during init
  • πŸš€ Native compilation cache redirected
  • πŸš€ compile-angel auto-compiles

Startup is snappy.


🧹 Minimalism Rules

Chadmacs avoids:

  • Massive framework abstractions
  • Doom/Spacemacs layers
  • Excessive magic macros
  • Hidden side effects

You own your config. You understand your config. You debug your config.


πŸ—Ώ Why Chadmacs?

Because you don’t want:

"A distribution that configures Emacs for you."

You want:

"A sharp and clean tool that respects your time."


πŸ“Œ Requirements

  • Emacs 29+
  • Nerd Font installed
  • Git
  • Tree-sitter support enabled

Optional:

  • ripgrep
  • fd
  • language servers

πŸ›  Troubleshooting

Elpaca issues

Delete:

~/.emacs.d/var/elpaca/

Restart Emacs.


Tree-sitter grammar issues

Delete:

~/.emacs.d/var/tree-sitter/

Reinstall grammar.


🧬 Future Improvements

  • Better dashboard visuals
  • More LSP integrations
  • Optional Wayland tweaks
  • Smarter modeline modules

πŸ‘‘ Final Words

Chadmacs is not a distro. It’s a mindset.

Minimal. Fast. Intentional.

Enjoy your editor. πŸ—ΏπŸ”₯

About

Chadmacs Emacs config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors