|
|
|
@ -162,19 +162,23 @@ const DEFAULT_KEYBOARD_ACTIONS = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "OpenNewTab",
|
|
|
|
actionName: "OpenNewTab",
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+T"] : []
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+T"] : [],
|
|
|
|
|
|
|
|
description: "Opens new tab"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "CloseActiveTab",
|
|
|
|
actionName: "CloseActiveTab",
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+W"] : []
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+W"] : [],
|
|
|
|
|
|
|
|
description: "Closes active tab"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ActivateNextTab",
|
|
|
|
actionName: "ActivateNextTab",
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+Tab"] : []
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+Tab"] : [],
|
|
|
|
|
|
|
|
description: "Activates tab on the right"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ActivatePreviousTab",
|
|
|
|
actionName: "ActivatePreviousTab",
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+Shift+Tab"] : []
|
|
|
|
defaultShortcuts: isElectron ? ["CommandOrControl+Shift+Tab"] : [],
|
|
|
|
|
|
|
|
description: "Activates tab on the left"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -183,39 +187,48 @@ const DEFAULT_KEYBOARD_ACTIONS = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowAttributes",
|
|
|
|
actionName: "ShowAttributes",
|
|
|
|
defaultShortcuts: ["Alt+A"]
|
|
|
|
defaultShortcuts: ["Alt+A"],
|
|
|
|
|
|
|
|
description: "Shows Attributes dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowNoteInfo",
|
|
|
|
actionName: "ShowNoteInfo",
|
|
|
|
defaultShortcuts: []
|
|
|
|
defaultShortcuts: [],
|
|
|
|
|
|
|
|
description: "Shows Note Info dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowNoteSource",
|
|
|
|
actionName: "ShowNoteSource",
|
|
|
|
defaultShortcuts: []
|
|
|
|
defaultShortcuts: [],
|
|
|
|
|
|
|
|
description: "Shows Note Source dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowLinkMap",
|
|
|
|
actionName: "ShowLinkMap",
|
|
|
|
defaultShortcuts: []
|
|
|
|
defaultShortcuts: [],
|
|
|
|
|
|
|
|
description: "Shows Link Map dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowOptions",
|
|
|
|
actionName: "ShowOptions",
|
|
|
|
defaultShortcuts: []
|
|
|
|
defaultShortcuts: [],
|
|
|
|
|
|
|
|
description: "Shows Options dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowNoteRevisions",
|
|
|
|
actionName: "ShowNoteRevisions",
|
|
|
|
defaultShortcuts: []
|
|
|
|
defaultShortcuts: [],
|
|
|
|
|
|
|
|
description: "Shows Note Revisions dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowRecentChanges",
|
|
|
|
actionName: "ShowRecentChanges",
|
|
|
|
defaultShortcuts: []
|
|
|
|
defaultShortcuts: [],
|
|
|
|
|
|
|
|
description: "Shows Recent Changes dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowSQLConsole",
|
|
|
|
actionName: "ShowSQLConsole",
|
|
|
|
defaultShortcuts: ["Alt+O"]
|
|
|
|
defaultShortcuts: ["Alt+O"],
|
|
|
|
|
|
|
|
description: "Shows SQL Console dialog"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ShowHelp",
|
|
|
|
actionName: "ShowHelp",
|
|
|
|
defaultShortcuts: ["F1"]
|
|
|
|
defaultShortcuts: ["F1"],
|
|
|
|
|
|
|
|
description: "Shows built-in Help / cheatsheet"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -251,10 +264,6 @@ const DEFAULT_KEYBOARD_ACTIONS = [
|
|
|
|
defaultShortcuts: ["Alt+H"],
|
|
|
|
defaultShortcuts: ["Alt+H"],
|
|
|
|
description: "Toggles note hoisting of active note"
|
|
|
|
description: "Toggles note hoisting of active note"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
actionName: "RunSQL",
|
|
|
|
|
|
|
|
defaultShortcuts: ["CommandOrControl+Enter"]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
actionName: "ReloadFrontendApp",
|
|
|
|
actionName: "ReloadFrontendApp",
|
|
|
|
defaultShortcuts: ["F5", "CommandOrControl+R"]
|
|
|
|
defaultShortcuts: ["F5", "CommandOrControl+R"]
|
|
|
|
|