Fix evil vterm
This commit is contained in:
@@ -3021,16 +3021,6 @@ Actually, return the method name."
|
||||
:custom
|
||||
(vterm-kill-buffer-on-exit nil)
|
||||
:config
|
||||
(evil-define-motion my/vterm-evil-goto-line (count)
|
||||
"`evil-goto-line' for `vterm' buffers."
|
||||
:jump t
|
||||
:type line
|
||||
(if count
|
||||
(evil-goto-line count)
|
||||
(goto-char (point-max))
|
||||
(vterm-previous-prompt 1)))
|
||||
(evil-define-key 'motion vterm-copy-mode-map
|
||||
(kbd "G") #'my/vterm-evil-goto-line)
|
||||
(add-to-list 'vterm-environment "COLORTERM=truecolor")
|
||||
(defun my/-vterm-copy-mode-on-exit (&rest _r)
|
||||
(vterm-copy-mode))
|
||||
|
||||
Reference in New Issue
Block a user