Track emacs configuration

This commit is contained in:
Ohad Livne 2025-06-04 22:44:05 +03:00
parent e3b2139847
commit 7224a672fa
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

25
.config/emacs/init.el Normal file
View file

@ -0,0 +1,25 @@
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
(use-package better-defaults
:straight (:host nil :repo "https://git.sr.ht/~technomancy/better-defaults"))
(use-package magit
:bind (("C-x g" . magit-status)
("C-x M-g" . magit-list-repositories)))
(put 'dired-find-alternate-file 'disabled nil)
(defalias 'yes-or-no-p 'y-or-n-p)