Fix evil vterm
This commit is contained in:
@@ -3021,16 +3021,6 @@ Actually, return the method name."
|
|||||||
:custom
|
:custom
|
||||||
(vterm-kill-buffer-on-exit nil)
|
(vterm-kill-buffer-on-exit nil)
|
||||||
:config
|
: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")
|
(add-to-list 'vterm-environment "COLORTERM=truecolor")
|
||||||
(defun my/-vterm-copy-mode-on-exit (&rest _r)
|
(defun my/-vterm-copy-mode-on-exit (&rest _r)
|
||||||
(vterm-copy-mode))
|
(vterm-copy-mode))
|
||||||
|
|||||||
Reference in New Issue
Block a user