Add vterm binding to send C-g
This commit is contained in:
parent
3394957063
commit
3cc63254ae
@ -38,11 +38,15 @@
|
||||
(defun vterm-edit-zsh-command-line ()
|
||||
"Edit the current command line in a temp buffer."
|
||||
(interactive)
|
||||
(vterm-send-C-x)
|
||||
(vterm-send-C-e))
|
||||
(vterm-send "C-x")
|
||||
(vterm-send "C-e"))
|
||||
(defun vterm-send-C-g ()
|
||||
(interactive)
|
||||
(vterm-send "C-g"))
|
||||
:general
|
||||
(leader-map "v" #'vterm)
|
||||
(vterm-mode-map "C-x C-e" #'vterm-edit-zsh-command-line)
|
||||
(vterm-mode-map "C-x C-e" #'vterm-edit-zsh-command-line
|
||||
"C-c C-g" #'vterm-send-C-g)
|
||||
:custom
|
||||
(vterm-max-scrollback 10000)
|
||||
(vterm-environment '("TYPEWRITTEN_CURSOR=terminal"))
|
||||
|
Loading…
Reference in New Issue
Block a user