adding autoscrolling to compilation and fixing using rustic
This commit is contained in:
parent
64090e89b7
commit
0acd8a55b9
12
README.org
12
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-to-list 'comint-output-filter-functions 'ansi-color-process-output)
|
||||||
(add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on)
|
(add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on)
|
||||||
(add-hook 'compilation-filter-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)
|
(defun my/advice-compilation-filter (f proc string)
|
||||||
(funcall f proc (xterm-color-filter 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
|
#+END_SRC
|
||||||
|
|
||||||
*** Rust
|
*** Rust
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: 20231120T054703.266056
|
||||||
|
:END:
|
||||||
I'd like to start learning and using rust if I can.
|
I'd like to start learning and using rust if I can.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package rustic
|
(use-package rustic
|
||||||
|
@ -3068,9 +3072,9 @@ I'd like to start learning and using rust if I can.
|
||||||
"gt" 'rustic-cargo-test)
|
"gt" 'rustic-cargo-test)
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
:states 'normal
|
:states 'normal
|
||||||
:keymaps 'rustic-mode
|
:keymaps '(rustic-mode override)
|
||||||
"gc" 'rustic-compile
|
"gc" 'rustic-compile
|
||||||
"gr" 'rustic-cargo-run-rerun))
|
"gr" 'projectile-run-project))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+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-video-dir "~/vids")
|
||||||
(empv-embark-initialize-extra-actions)
|
(empv-embark-initialize-extra-actions)
|
||||||
(general-auto-unbind-keys)
|
(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 ()
|
(defun chris/empv-yt-dlp ()
|
||||||
"Download the current video and and play it"
|
"Download the current video and and play it"
|
||||||
|
|
9
init.el
9
init.el
|
@ -2187,7 +2187,8 @@ targets."
|
||||||
(add-to-list 'comint-output-filter-functions 'ansi-color-process-output)
|
(add-to-list 'comint-output-filter-functions 'ansi-color-process-output)
|
||||||
(add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on)
|
(add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on)
|
||||||
(add-hook 'compilation-filter-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)
|
(defun my/advice-compilation-filter (f proc string)
|
||||||
(funcall f proc (xterm-color-filter string)))
|
(funcall f proc (xterm-color-filter string)))
|
||||||
|
@ -2319,9 +2320,9 @@ targets."
|
||||||
"gt" 'rustic-cargo-test)
|
"gt" 'rustic-cargo-test)
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
:states 'normal
|
:states 'normal
|
||||||
:keymaps 'rustic-mode
|
:keymaps '(rustic-mode override)
|
||||||
"gc" 'rustic-compile
|
"gc" 'rustic-compile
|
||||||
"gr" 'rustic-cargo-run-rerun))
|
"gr" 'projectile-run-project))
|
||||||
|
|
||||||
(use-package slint-mode
|
(use-package slint-mode
|
||||||
:mode "\\.slint\\'")
|
:mode "\\.slint\\'")
|
||||||
|
@ -3049,7 +3050,7 @@ targets."
|
||||||
empv-video-dir "~/vids")
|
empv-video-dir "~/vids")
|
||||||
(empv-embark-initialize-extra-actions)
|
(empv-embark-initialize-extra-actions)
|
||||||
(general-auto-unbind-keys)
|
(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 ()
|
(defun chris/empv-yt-dlp ()
|
||||||
"Download the current video and and play it"
|
"Download the current video and and play it"
|
||||||
|
|
Loading…
Reference in a new issue