feat: emacs - wakatime & copilot

This commit is contained in:
Ryan Yin
2024-01-03 01:36:22 +08:00
parent c9102ead4f
commit cbfe78f179
2 changed files with 15 additions and 5 deletions

View File

@@ -82,12 +82,18 @@
("<tab>" . 'copilot-accept-completion)
("TAB" . 'copilot-accept-completion)
("C-TAB" . 'copilot-accept-completion-by-word)
("C-<tab>" . 'copilot-accept-completion-by-word)))
("C-<tab>" . 'copilot-accept-completion-by-word))
:config
(copilot-mode +1))
(use-package super-save
:ensure t
:config
(super-save-mode +1)
(setq super-save-auto-save-when-idle t)
(setq super-save-all-buffers t)
(setq super-save-delete-trailing-whitespace t))
(super-save-mode +1))
(setq super-save-auto-save-when-idle t)
(setq super-save-all-buffers t)
(setq super-save-delete-trailing-whitespace t)
(use-package wakatime-mode
:ensure t)

View File

@@ -11,6 +11,10 @@
(package! super-save
:recipe (:host github :repo "bbatsov/super-save" :files ("*.el" "dist")))
(package! wakatime-mode
:recipe (:host github :repo "wakatime/wakatime-mode" :files ("*.el" "dist")))
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;; (package! some-package)