Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(zen): change default keyboard shortcut to F9 (closes #1372)
Elian Doran68e1e68cfee4
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.mdindex 4b3bc103f9..9fa4b9d92d 100644--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Day Notes.md@@ -57,4 +57,4 @@ Trilium has some special support for day notes in the form of [backend Script APDay (and year, month) notes are created with a label - e.g. `#dateNote="2018-08-16"` this can then be used by other scripts to add new notes to day note etc.-Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal).+Journal also has relation `child:child:child:template=Day template` (see \[\[attribute inheritance\]\]) which effectively adds \[\[template\]\] to day notes (grand-grand-grand children of Journal).\ No newline at end of filediff --git a/docs/User Guide/User Guide/Basic Concepts/Zen mode.md b/docs/User Guide/User Guide/Basic Concepts/Zen mode.mdindex 8e1d15901f..8bd9b8ad63 100644--- a/docs/User Guide/User Guide/Basic Concepts/Zen mode.md+++ b/docs/User Guide/User Guide/Basic Concepts/Zen mode.md@@ -13,9 +13,9 @@ Screenshot of the Zen Mode option in the global menu.The Zen Mode can be activated by accessing the global menu and selecting the “Zen Mode” option:-Aside from the global menu, it's also possible to activate this mode by using a keyboard shortcut which is <kbd>Alt</kbd>+<kbd>Z</kbd> by default. Look for `toggleZenMode` in the shortcut configuration.+Aside from the global menu, it's also possible to activate this mode by using a keyboard shortcut (which is <kbd>F9</kbd> since TriliumNext 0.92.5 and <kbd>Alt</kbd>+<kbd>Z</kbd> for older versions). Look for `toggleZenMode` in the shortcut configuration.-Once Zen Mode is activated, all the UI elements of the application will be hidden away, including the global menu. In that case, the Zen Mode can be deactivated either by pressing the icon in the top-right corner of the window or by pressing the keyboard combination again.+Once Zen Mode is activated, all the UI elements of the application will be hidden away, including the global menu. In that case, the Zen Mode can be deactivated either by pressing the  icon in the top-right corner of the window or by pressing the keyboard combination again.Do note that, by design, activating or deactivating the Zen Mode applies only to the current window. Restarting the application will also disable the Zen Mode.diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Zen mode.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Zen mode.htmlindex 524f965e2e..4678fd5599 100644--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Zen mode.html+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Zen mode.html@@ -29,8 +29,9 @@<p>The Zen Mode can be activated by accessing the global menu and selectingthe “Zen Mode” option:</p><p>Aside from the global menu, it's also possible to activate this mode by- using a keyboard shortcut which is <kbd>Alt</kbd>+<kbd>Z</kbd> by default.- Look for <code>toggleZenMode</code> in the shortcut configuration.</p>+ using a keyboard shortcut (which is <kbd>F9</kbd> since TriliumNext 0.92.5+ and <kbd>Alt</kbd>+<kbd>Z</kbd> for older versions). Look for <code>toggleZenMode</code> in+ the shortcut configuration.</p><p>Once Zen Mode is activated, all the UI elements of the application willbe hidden away, including the global menu. In that case, the Zen Mode canbe deactivated either by pressing thediff --git a/src/services/keyboard_actions.ts b/src/services/keyboard_actions.tsindex 1df14a2649..78723da3d7 100644--- a/src/services/keyboard_actions.ts+++ b/src/services/keyboard_actions.ts@@ -240,7 +240,7 @@ function getDefaultKeyboardActions() {},{actionName: "toggleZenMode",- defaultShortcuts: ["Alt+Z"],+ defaultShortcuts: ["F9"],description: t("keyboard_actions.toggle-zen-mode"),scope: "window"},