(Emacs/config)+some bindings

Recompile is now c instead of g
This commit is contained in:
2024-04-12 18:20:57 +06:30
parent 31155589e5
commit 37f5bf4b98

View File

@@ -1049,7 +1049,7 @@ Colourising the compilation buffer so ANSI colour codes get computed.
"C" #'recompile) "C" #'recompile)
(nmmap (nmmap
:keymaps 'compilation-mode-map :keymaps 'compilation-mode-map
"g" #'recompile) "c" #'recompile)
:display :display
("\\*compilation\\*" ("\\*compilation\\*"
(display-buffer-reuse-window display-buffer-at-bottom) (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 :straight t
:general :general
(code-leader (code-leader
:keymaps 'rust-mode-hook :keymaps 'rust-mode-map
"f" #'rust-format-buffer) "f" #'rust-format-buffer)
(local-leader
:keymaps 'rust-mode-map
"c" #'rust-run-clippy)
:init :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 #+end_src
** Racket ** Racket
A scheme with lots of stuff inside it. Using it for a language design A scheme with lots of stuff inside it. Using it for a language design