config/doom: fix eshell scrolling

This commit is contained in:
xeruf 2022-11-06 21:33:00 +01:00
parent c825980c29
commit e615658b23
1 changed files with 4 additions and 2 deletions

View File

@ -129,7 +129,7 @@ Version 2019-11-04 2021-02-16"
"m;" 'comment-line "m;" 'comment-line
"Q" 'save-buffers-kill-terminal ; or evil-quit-all? "Q" 'save-buffers-kill-terminal ; or evil-quit-all?
:desc "Dragon current buffer" "d" 'xf/dragon :desc "Dragon current buffer" "d" 'xf/dragon
:desc "Update DB & Quit" "WU" (lambda () (interactive) (xf/org-roam-update) (save-buffers-kill-terminal)) :desc "Update DB & Quit" "wU" (lambda () (interactive) (xf/org-roam-update) (save-buffers-kill-terminal))
:map ctl-x-map :map ctl-x-map
"8 SPC" (lambda () (insert-char "200B")) "8 SPC" (lambda () (insert-char "200B"))
:map text-mode-map :map text-mode-map
@ -697,7 +697,9 @@ Version 2019-11-04 2021-02-16"
(lambda () (lambda ()
(setq xterm-color-preserve-properties t))) (setq xterm-color-preserve-properties t)))
(add-to-list 'eshell-preoutput-filter-functions 'xterm-color-filter) (add-to-list 'eshell-preoutput-filter-functions 'xterm-color-filter)
(setq eshell-output-filter-functions (remove 'eshell-handle-ansi-color eshell-output-filter-functions)) (setq eshell-output-filter-functions (remove 'eshell-handle-ansi-color eshell-output-filter-functions)
eshell-scroll-to-bottom-on-output 'others
)
(setenv "TERM" "xterm-256color") (setenv "TERM" "xterm-256color")
) )