Fix jumpiness from progress bars in eshell/term

Due to hscroll-margin ping-ponging the cursor.
This commit is contained in:
Henrik Lissner
2018-06-30 02:49:52 +02:00
parent 0603f7bb5d
commit bf5c8351e4

View File

@ -44,6 +44,9 @@ successfully sets indent_style/indent_size.")
truncate-lines t
truncate-partial-width-windows 50)
;; Remove hscroll-margin in shells, otherwise it causes jumpiness
(setq-hook! '(eshell-mode-hook term-mode-hook) hscroll-margin 0)
(defun doom|check-large-file ()
"Check if the buffer's file is large (see `doom-large-file-size'). If so, ask
for confirmation to open it literally (read-only, disabled undo and in