Archive closed browser tabs
This commit is contained in:
@@ -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),
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user