Archive closed browser tabs

This commit is contained in:
2026-05-07 19:53:32 -04:00
parent 82df2b4502
commit e0eb5b51b2
9 changed files with 150 additions and 5 deletions
+5
View File
@@ -14,6 +14,7 @@ actions!(
FocusAddressBar,
OpenNewTab,
Quit,
RestoreClosedTab,
SelectNextTab,
SelectPreviousTab,
ToggleFavoriteTab,
@@ -32,6 +33,8 @@ fn main() {
KeyBinding::new("ctrl-l", FocusAddressBar, None),
KeyBinding::new("cmd-w", CloseCurrentTab, None),
KeyBinding::new("ctrl-w", CloseCurrentTab, None),
KeyBinding::new("cmd-shift-t", RestoreClosedTab, None),
KeyBinding::new("ctrl-shift-t", RestoreClosedTab, None),
KeyBinding::new("cmd-shift-f", ToggleFavoriteTab, None),
KeyBinding::new("ctrl-shift-f", ToggleFavoriteTab, None),
KeyBinding::new("cmd-shift-p", TogglePinnedTab, None),
@@ -58,6 +61,8 @@ fn main() {
MenuItem::separator(),
MenuItem::action("Close Tab", CloseCurrentTab),
MenuItem::separator(),
MenuItem::action("Restore Closed Tab", RestoreClosedTab),
MenuItem::separator(),
MenuItem::action("Toggle Pin", TogglePinnedTab),
],
},