From 99903c669246f90c45139be47917c2a9146b8205 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Wed, 10 Dec 2025 23:31:21 +0000 Subject: emacs comint help --- emacs/init.el | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'emacs') 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) -- cgit v1.2.3