tweak(vterm): vterm-send-next-key mapped to C-q
This commit is contained in:
parent
02ab7f3a79
commit
9fe9f89333
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
||||||
:config
|
:config
|
||||||
(set-popup-rule! "^\\*vterm" :size 0.25 :vslot -4 :select t :quit nil :ttl 0)
|
(set-popup-rule! "^\\*vterm" :size 0.25 :vslot -4 :select t :quit nil :ttl 0)
|
||||||
|
|
||||||
|
(map! :map vterm-mode-map "C-q" #'vterm-send-next-key)
|
||||||
|
|
||||||
;; Once vterm is dead, the vterm buffer is useless. Why keep it around? We can
|
;; Once vterm is dead, the vterm buffer is useless. Why keep it around? We can
|
||||||
;; spawn another if want one.
|
;; spawn another if want one.
|
||||||
(setq vterm-kill-buffer-on-exit t)
|
(setq vterm-kill-buffer-on-exit t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue