Migrate Emacs package management to Elpaca

This commit is contained in:
Ohad Livne 2025-06-04 22:45:11 +03:00
parent 030712337c
commit e8520cd29c
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 53 additions and 21 deletions

View file

@ -1,7 +1,7 @@
(load-file ".config/emacs/init-straight.el")
(load-file ".config/emacs/init-elpaca.el")
(use-package emacs
:straight (:type built-in)
:elpaca nil
:bind (("C-z" . nil)
("C-z i" . (lambda () (interactive) (find-file user-init-file))))
:config
@ -21,7 +21,7 @@
(global-auto-revert-non-file-buffers t))
(use-package better-defaults
:straight (:host nil :repo "https://git.sr.ht/~technomancy/better-defaults"))
:elpaca (:repo "https://git.sr.ht/~technomancy/better-defaults"))
(use-package treemacs-icons-dired
:hook (dired-mode . treemacs-icons-dired-mode))
@ -54,7 +54,7 @@
(load-theme 'material t))
(use-package windmove
:straight (:type built-in)
:elpaca nil
:bind (("s-w" . windmove-up)
("s-a" . windmove-left)
("s-s" . windmove-down)
@ -82,7 +82,7 @@
(ivy-count-format "(%d/%d) "))
(use-package org
:straight (:type built-in)
:elpaca nil
:bind (("C-c l" . org-store-link)
("C-c c" . org-capture)
("C-c a" . org-agenda)
@ -116,7 +116,8 @@
(use-package company
:init (global-company-mode))
(use-package apt-mode)
(use-package apt-mode
:disabled t)
(use-package docker
:bind ("C-c d" . docker))