Bump evil-collection, vterm

emacs-evil/evil-collection@ffbf149 -> emacs-evil/evil-collection@e6824e2
akermu/emacs-libvterm@101ff86 -> akermu/emacs-libvterm@fb12d7f

Closes #4591

Co-authored-by: Michael Lingelbach <mjlbach@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2021-01-30 17:57:45 -05:00
parent 20c6246313
commit 8566cfac7b
4 changed files with 3 additions and 25 deletions

View file

@ -19,11 +19,4 @@
;; Don't prompt about dying processes when killing vterm
confirm-kill-processes nil
;; Prevent premature horizontal scrolling
hscroll-margin 0)
;; Restore the point's location when leaving and re-entering insert mode.
(when (featurep! :editor evil)
(add-hook! 'vterm-mode-hook
(defun +vterm-init-remember-point-h ()
(add-hook 'evil-insert-state-exit-hook #'+vterm-remember-insert-point-h nil t)
(add-hook 'evil-insert-state-entry-hook #'+vterm-goto-insert-point-h nil t)))))
hscroll-margin 0))