diff --git a/README.org b/README.org index 218c9b06..f779bf92 100644 --- a/README.org +++ b/README.org @@ -2905,7 +2905,8 @@ Before getting into languages, often times compilation of things use ansi-colors (add-to-list 'comint-output-filter-functions 'ansi-color-process-output) (add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on) (add-hook 'compilation-filter-hook 'ansi-color-for-comint-mode-on) -(setq compilation-environment '("TERM=xterm-256color")) +(setq compilation-environment '("TERM=xterm-256color") + compilation-scroll-output t) (defun my/advice-compilation-filter (f proc string) (funcall f proc (xterm-color-filter string))) @@ -3052,6 +3053,9 @@ In c++ I just want to make sure lsp is called when enter c++-mode #+END_SRC *** Rust +:PROPERTIES: +:ID: 20231120T054703.266056 +:END: I'd like to start learning and using rust if I can. #+begin_src emacs-lisp (use-package rustic @@ -3068,9 +3072,9 @@ I'd like to start learning and using rust if I can. "gt" 'rustic-cargo-test) (chris/leader-keys :states 'normal - :keymaps 'rustic-mode + :keymaps '(rustic-mode override) "gc" 'rustic-compile - "gr" 'rustic-cargo-run-rerun)) + "gr" 'projectile-run-project)) #+end_src #+begin_src emacs-lisp @@ -4160,7 +4164,7 @@ With empv we can perhaps control mpv much more fine grainly and even search yout empv-video-dir "~/vids") (empv-embark-initialize-extra-actions) (general-auto-unbind-keys) - (add-hook 'empv-resultes-mode-hook #'evil-normal-state) + (add-hook 'empv-youtube-results-mode-hook #'evil-normal-state) (defun chris/empv-yt-dlp () "Download the current video and and play it" diff --git a/init.el b/init.el index 3ac79508..d54e9f17 100644 --- a/init.el +++ b/init.el @@ -2187,7 +2187,8 @@ targets." (add-to-list 'comint-output-filter-functions 'ansi-color-process-output) (add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on) (add-hook 'compilation-filter-hook 'ansi-color-for-comint-mode-on) -(setq compilation-environment '("TERM=xterm-256color")) +(setq compilation-environment '("TERM=xterm-256color") + compilation-scroll-output t) (defun my/advice-compilation-filter (f proc string) (funcall f proc (xterm-color-filter string))) @@ -2319,9 +2320,9 @@ targets." "gt" 'rustic-cargo-test) (chris/leader-keys :states 'normal - :keymaps 'rustic-mode + :keymaps '(rustic-mode override) "gc" 'rustic-compile - "gr" 'rustic-cargo-run-rerun)) + "gr" 'projectile-run-project)) (use-package slint-mode :mode "\\.slint\\'") @@ -3049,7 +3050,7 @@ targets." empv-video-dir "~/vids") (empv-embark-initialize-extra-actions) (general-auto-unbind-keys) - (add-hook 'empv-resultes-mode-hook #'evil-normal-state) + (add-hook 'empv-youtube-results-mode-hook #'evil-normal-state) (defun chris/empv-yt-dlp () "Download the current video and and play it"