From fbcb3ec702ea53e28ca1006e717def808194ce84 Mon Sep 17 00:00:00 2001 From: inaki Date: Fri, 19 Feb 2021 10:53:18 +0100 Subject: [PATCH] improve term scroll --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index ee2bc45..9b43a7b 100644 --- a/init.el +++ b/init.el @@ -251,7 +251,11 @@ There are two things you can do about this warning: (concatenate 'string term-ansi-at-dir "/") (format "/%s@%s:%s/" term-ansi-at-user term-ansi-at-host term-ansi-at-dir)))) message) - :hook (term-mode . (lambda () (setq-local global-hl-line-mode nil)))) + (setq term-scroll-to-bottom-on-output t) + (setq term-suppress-hard-newline t) + :hook ((term-mode . (lambda () + (linum-mode -1) + (setq-local global-hl-line-mode nil))))) (use-package terraform-mode)