From 37f5bf4b983f4db696d6dbf10a8970c8ef214e3a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 12 Apr 2024 18:20:57 +0630 Subject: (Emacs/config)+some bindings Recompile is now c instead of g --- Emacs/.config/emacs/config.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 5d62ac2..cd788ce 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1049,7 +1049,7 @@ Colourising the compilation buffer so ANSI colour codes get computed. "C" #'recompile) (nmmap :keymaps 'compilation-mode-map - "g" #'recompile) + "c" #'recompile) :display ("\\*compilation\\*" (display-buffer-reuse-window display-buffer-at-bottom) @@ -1798,10 +1798,15 @@ execution of d-mode blocks and alias ~D-mode~ with ~d-mode~. :straight t :general (code-leader - :keymaps 'rust-mode-hook + :keymaps 'rust-mode-map "f" #'rust-format-buffer) + (local-leader + :keymaps 'rust-mode-map + "c" #'rust-run-clippy) :init - (setq rust-format-on-save t)) + (setq rust-format-on-save t) + (with-eval-after-load "eglot" + (add-to-list 'eglot-server-programs '(rust-mode "rust-analyzer")))) #+end_src ** Racket A scheme with lots of stuff inside it. Using it for a language design -- cgit v1.2.3-13-gbd6f