summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2025-12-10 23:31:21 +0000
committerThomas Ulmer <thomasmulmer02@gmail.com>2025-12-10 23:31:21 +0000
commit99903c669246f90c45139be47917c2a9146b8205 (patch)
tree59112c2e964bbe93b1868c6ccf267cf6517c6ba2 /emacs/init.el
parent62f8b675285a84fa7ad8cabb3c5b85ce1544bd53 (diff)
emacs comint help
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el20
1 files changed, 6 insertions, 14 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 13dba00..c7fa7af 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -228,6 +228,8 @@ given keymap or in the global keymap."
nil
(window-parameters (mode-line-format . none)))))
+(use-package embark-consult)
+
(use-package corfu ; in buffer completion
:demand t
:custom
@@ -415,7 +417,6 @@ given keymap or in the global keymap."
;; command codes -> ansi colors in emacs
(add-hook 'shelldon-mode-hook 'ansi-color-for-comint-mode-on)
- (add-to-list 'comint-output-filter-functions 'ansi-color-process-output)
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-to-list 'display-buffer-alist
@@ -437,7 +438,9 @@ given keymap or in the global keymap."
(progn ; comint, doesn't play with use-package
(require 'comint)
(setq-default comint-scroll-to-bottom-on-input t)
- (setq-default comint-scroll-to-bottom-on-output t))
+ (setq-default comint-scroll-to-bottom-on-output t)
+ (add-to-list comint-output-filter-functions #'comint-truncate-buffer)
+ (add-to-list 'comint-output-filter-functions #'ansi-color-process-output))
(use-package bash-completion
:demand t
@@ -1277,18 +1280,7 @@ Thomas Ulmer")))
'(gdb-non-stop-setting nil)
'(helm-minibuffer-history-key "M-p")
'(menu-bar-mode nil)
- '(package-selected-packages
- '(balanced-windows bash-completion benchmark-init buffer-move cape
- corfu-terminal counsel doom-modeline eat ednc
- eglot-tempel embark-consult esh-help
- exwm-modeline fold-this free-keys haskell-mode
- hl-todo ibuffer-vc lsp-haskell magit marginalia
- merlin minions ocp-indent opam opam-switch-mode
- orderless origami pass pinentry pyvenv
- racket-mode rustic sdcv shelldon sideline-eglot
- sideline-flycheck sideline-flymake sideline-lsp
- symon tempel-collection treemacs tuareg vcl-mode
- vertico visible-mark winum))
+ '(package-selected-packages nil)
'(pyim-assistant-scheme 'cangjie)
'(safe-local-variable-values '((LEXICAL-binding . t)))
'(scroll-bar-mode nil)