Open history and settings pages
This commit is contained in:
@@ -14,7 +14,9 @@ actions!(
|
||||
FocusAddressBar,
|
||||
FocusCommandMode,
|
||||
OpenDownloads,
|
||||
OpenHistory,
|
||||
OpenNewTab,
|
||||
OpenSettings,
|
||||
Quit,
|
||||
RestoreClosedTab,
|
||||
SelectNextTab,
|
||||
@@ -33,6 +35,10 @@ fn main() {
|
||||
KeyBinding::new("ctrl-t", OpenNewTab, None),
|
||||
KeyBinding::new("cmd-shift-j", OpenDownloads, None),
|
||||
KeyBinding::new("ctrl-shift-j", OpenDownloads, None),
|
||||
KeyBinding::new("cmd-y", OpenHistory, None),
|
||||
KeyBinding::new("ctrl-h", OpenHistory, None),
|
||||
KeyBinding::new("cmd-,", OpenSettings, None),
|
||||
KeyBinding::new("ctrl-,", OpenSettings, None),
|
||||
KeyBinding::new("cmd-l", FocusAddressBar, None),
|
||||
KeyBinding::new("ctrl-l", FocusAddressBar, None),
|
||||
KeyBinding::new("cmd-w", CloseCurrentTab, None),
|
||||
@@ -70,6 +76,8 @@ fn main() {
|
||||
MenuItem::action("Restore Closed Tab", RestoreClosedTab),
|
||||
MenuItem::separator(),
|
||||
MenuItem::action("Open Downloads", OpenDownloads),
|
||||
MenuItem::action("Open History", OpenHistory),
|
||||
MenuItem::action("Open Settings", OpenSettings),
|
||||
MenuItem::separator(),
|
||||
MenuItem::action("Toggle Pin", TogglePinnedTab),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user