Track emacs configuration
This commit is contained in:
parent
e3b2139847
commit
7224a672fa
1 changed files with 25 additions and 0 deletions
25
.config/emacs/init.el
Normal file
25
.config/emacs/init.el
Normal 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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue