home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 847bdfa9d4e8eb42c9f8159dcc63fcddabb667f3
parent 0c90690360ae704524afc12398572ca54cb6d4f0
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 29 Nov 2023 18:25:48 +0100

tools/emacs: disable copilot for text-mode…

… and add a register to jump to source directory.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/programming-config.el | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tools/emacs/config/programming-config.el b/tools/emacs/config/programming-config.el @@ -3,6 +3,10 @@ ;;; Configuration files mode configuration ;;; Code: +(defconst src-dir "~/src/" + "Where all my sources are.") +(set-register ?s `(file . ,src-dir)) + (use-package yaml-mode :mode "\\.ya?ml\\'" :hook ((yaml-mode . highlight-indentation-mode) @@ -20,8 +24,8 @@ (package-vc-install "https://github.com/zerolfx/copilot.el")) :hook (prog-mode . copilot-mode) - (markdown-mode . copilot-mode) - (text-mode . copilot-mode) + ;; (markdown-mode . copilot-mode) + ;; (text-mode . copilot-mode) (log-edit-mode . copilot-mode) (vc-git-log-edit-mode . copilot-mode) :bind