dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit fa271e247e336c66ce90dc63afb860babbfba0ce
parent 1e43916f09d96696bb82ca17659ae446ca20c7f1
Author: Gabriel G. de Brito <gabrielgbrito@icloud.com>
Date:   Tue,  1 Apr 2025 21:56:43 -0300

I hate c-mode

Diffstat:
Memacs/init.el | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -145,7 +145,10 @@ (eglot-ensure) (setq tab-width 4) (setq indent-tabs-mode nil) - (local-set-key (kbd "C-c C-c") #'compile)) + ;; I hate c-mode for using C-c. + (local-set-key (kbd "C-c C-c") #'compile) + (local-set-key (kbd "C-c C-d") #'xref-find-definitions) + (local-set-key (kbd "C-c C-?") #'xref-find-references)) (add-hook 'c-mode-hook #'c-configs) (add-hook 'c++-mode-hook #'c-configs)