Skip to content

Instantly share code, notes, and snippets.

View mumu-lhl's full-sized avatar
🏠
Working from home

Mumulhl mumu-lhl

🏠
Working from home
View GitHub Profile
@mumu-lhl
mumu-lhl / init.el
Created December 31, 2025 14:52
A simple emacs configure
(setq straight-vc-git-default-clone-depth 1)
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
(or (bound-and-true-p straight-base-dir)
user-emacs-directory)))
(bootstrap-version 7))
(unless (file-exists-p bootstrap-file)
(with-current-buffer