fix(wpcarro/emacs): Debug vterm-mgt.el

TL;DR:
- vterm-mgt-repopulate-cycle -> vterm-mgt-reconcile-state
- call vterm-mgt-reconcile-state everywhere to ensure state is consistent
- prevent vterm from swalling EXWM KBD (C-S-f)
- support vterm-mgt-select
- prevent type error in cycle-append
- pass t to (vterm t) to ensure it isn't a find-or-create

Change-Id: I0f6d20b8d4b7533c7f56baf796ca3467a85ec770
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4563
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2021-12-24 11:47:16 -05:00 committed by clbot
parent 59755aa1ea
commit 5159413681
3 changed files with 28 additions and 9 deletions

View file

@ -246,6 +246,9 @@
(general-define-key
:keymaps '(vterm-mode-map)
;; For some reason vterm captures this KBD instead of EXWM
"C-S-f" nil
"s-x" #'vterm-mgt-select
"C-S-n" #'vterm-mgt-instantiate
"C-S-w" #'vterm-mgt-kill
"<C-tab>" #'vterm-mgt-next