Home Gen81 @ 2024-04-23-01:10

This commit is contained in:
Jonas Röger 2024-04-23 01:12:27 +02:00
parent aa1a351e94
commit 78aed72757
4 changed files with 17 additions and 4 deletions

View File

@ -77,18 +77,18 @@ in {
}; };
"doom-config/init.el" = { "doom-config/init.el" = {
source = ./static/doom-config/init.el; source = ./static/doom-config/init.el;
onChange = "${doom-setup} sync --force"; onChange = "${doom-setup} sync --force -e";
}; };
"doom-config/packages.el" = { "doom-config/packages.el" = {
source = ./static/doom-config/packages.el; source = ./static/doom-config/packages.el;
onChange = "${doom-setup} sync --force -u"; onChange = "${doom-setup} sync --force -u -e";
}; };
"doom-emacs" = { "doom-emacs" = {
source = builtins.fetchGit { source = builtins.fetchGit {
url = "https://github.com/doomemacs/doomemacs"; url = "https://github.com/doomemacs/doomemacs";
rev = "9620bb45ac4cd7b0274c497b2d9d93c4ad9364ee"; rev = "9620bb45ac4cd7b0274c497b2d9d93c4ad9364ee";
}; };
onChange = "${doom-setup} --force sync -u"; onChange = "${doom-setup} --force sync -u -e";
}; };
}; };
desktopEntries = { desktopEntries = {

View File

@ -87,3 +87,12 @@
(use-package! direnv (use-package! direnv
:config :config
(direnv-mode)) (direnv-mode))
;; accept completion from copilot and fallback to company
(use-package! copilot
:hook (prog-mode . copilot-mode)
:bind (:map copilot-completion-map
("<tab>" . 'copilot-accept-completion)
("TAB" . 'copilot-accept-completion)
("C-TAB" . 'copilot-accept-completion-by-word)
("C-<tab>" . 'copilot-accept-completion-by-word)))

View File

@ -21,7 +21,7 @@
;;layout ; auie,ctsrnm is the superior home row ;;layout ; auie,ctsrnm is the superior home row
:completion :completion
company ; the ultimate code completion backend (company +childframe) ; the ultimate code completion backend
;;(corfu +orderless) ; complete with cap(f), cape and a flying feather! ;;(corfu +orderless) ; complete with cap(f), cape and a flying feather!
;;helm ; the *other* search engine for love and life ;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine... ;;ido ; the other *other* search engine...

View File

@ -52,5 +52,9 @@
(package! conventional-commit (package! conventional-commit
:recipe (:host github :repo "akirak/conventional-commit.el" :files ("conventional-commit.el"))) :recipe (:host github :repo "akirak/conventional-commit.el" :files ("conventional-commit.el")))
(package! copilot
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
(package! realgud) (package! realgud)
(package! direnv) (package! direnv)
(package! copilot)