move vterm's popup rule to vterm layer
This commit is contained in:
parent
0a43819a44
commit
1e864df8cd
2 changed files with 2 additions and 2 deletions
|
@ -16,6 +16,8 @@
|
|||
;; Automatically kill buffer when vterm exits.
|
||||
(add-hook 'vterm-exit-functions #'(lambda (buffer)
|
||||
(when buffer (kill-buffer buffer))))
|
||||
(when (featurep! :ui popup +defaults)
|
||||
(set-popup-rule! "^vterm" :size 0.25 :vslot -4 :select t :quit nil :ttl 0))
|
||||
(when (featurep! :feature evil)
|
||||
(evil-set-initial-state 'vterm-mode 'insert)
|
||||
;; Those keys are commonly needed by terminals.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue