Add File Explorer tab mappings

This commit is contained in:
Kenneth Benzie 2024-04-06 11:40:18 +01:00
parent 2b3e259009
commit d30be41414

View File

@ -143,7 +143,7 @@ return
; ------------------------------ Windows & Tabs ------------------------------ ; ------------------------------ Windows & Tabs ------------------------------
$!w:: ; close tab $!w:: ; close tab
if WinActive("ahk_group Browser") if WinActive("ahk_group Browser") || WinActive("ahk_exe explorer.exe")
send ^w send ^w
else if WinActive("ahk_exe wezterm-gui.exe") else if WinActive("ahk_exe wezterm-gui.exe")
send ^+w send ^+w
@ -193,7 +193,7 @@ else
return return
$!t:: ; new tab $!t:: ; new tab
if WinActive("ahk_group Browser") if WinActive("ahk_group Browser") || WinActive("ahk_exe explorer.exe")
send ^t send ^t
else else
send !t send !t