different new tab actions for wezterm

This commit is contained in:
Noah Masur 2024-06-21 17:08:25 -06:00
parent dec46bcc97
commit a387950c9a
No known key found for this signature in database

View File

@ -161,6 +161,20 @@
mods = 'SUPER', mods = 'SUPER',
action = wezterm.action.ToggleFullScreen action = wezterm.action.ToggleFullScreen
}, },
-- super-t open new tab in new dir
{
key = 't',
mods = 'SUPER',
action = wezterm.action.SpawnCommandInNewTab {
cwd = wezterm.home_dir,
},
},
-- shift-super-t open new tab in same dir
{
key = 't',
mods = 'SUPER|SHIFT',
action = wezterm.action.SpawnTab 'CurrentPaneDomain'
},
-- project switcher -- project switcher
{ {
key = 'P', key = 'P',