aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-12 18:20:57 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-12 18:20:57 +0630
commit37f5bf4b983f4db696d6dbf10a8970c8ef214e3a (patch)
tree1e568a8f2afd5a56954a1c8f495502f7fcc98ef3 /Emacs/.config/emacs
parent31155589e59d1cb9e6f389c96e34fbc14e3fa34b (diff)
downloaddotfiles-37f5bf4b983f4db696d6dbf10a8970c8ef214e3a.tar.gz
dotfiles-37f5bf4b983f4db696d6dbf10a8970c8ef214e3a.tar.bz2
dotfiles-37f5bf4b983f4db696d6dbf10a8970c8ef214e3a.zip
(Emacs/config)+some bindings
Recompile is now c instead of g
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org11
1 files changed, 8 insertions, 3 deletions
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