(tab-bar-helpers) Add vterm helper

This commit is contained in:
Marcel Kapfer 2023-06-14 18:07:08 +02:00
parent 8747cda157
commit f6903f318f
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 7 additions and 0 deletions

View File

@ -87,6 +87,11 @@
(interactive)
(mmk2410/tab-bar-switch-or-create "Mastodon" #'mastodon))
(defun mmk2410/tab-bar-run-vterm ()
"Switch to or create a tab running a shell using vterm."
(interactive)
(mmk2410/tab-bar-switch-or-create "term" #'vterm))
(defhydra mmk2410/tab-bar (:color teal :hint nil)
"
^Apps^ ^Org^ ^Helpers^ ^Misc
@ -95,6 +100,7 @@
_m_: Mail _A_: Agenda + Journal _SPC_: New
_i_: IRC (erc) _j_: Journal _f_: Previous Tab
_M_: Mastodon _Q_: Close Tab
_t_: vterm
"
;; Apps
@ -102,6 +108,7 @@
("m" mmk2410/tab-bar-run-mail)
("i" mmk2410/tab-bar-run-irc)
("M" mmk2410/tab-bar-run-mastodon)
("t" mmk2410/tab-bar-run-vterm)
;; Org
("a" mmk2410/tab-bar-run-agenda)
("A" mmk2410/tab-bar-run-agenda-journal)