chore(zen): change default keyboard shortcut to F9 (closes #1372)

This commit is contained in:
Elian Doran 2025-03-29 00:20:09 +02:00
parent 83890ba130
commit 68e1e68cfe
No known key found for this signature in database
4 changed files with 7 additions and 6 deletions

View File

@ -13,7 +13,7 @@ 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: 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 ![](Zen%20mode_image.png) 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 ![](Zen%20mode_image.png) icon in the top-right corner of the window or by pressing the keyboard combination again.

View File

@ -29,8 +29,9 @@
<p>The Zen Mode can be activated by accessing the global menu and selecting <p>The Zen Mode can be activated by accessing the global menu and selecting
the “Zen Mode” option:</p> the “Zen Mode” option:</p>
<p>Aside from the global menu, it's also possible to activate this mode by <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. using a keyboard shortcut (which is <kbd>F9</kbd> since TriliumNext 0.92.5
Look for <code>toggleZenMode</code> in the shortcut configuration.</p> 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 will <p>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 hidden away, including the global menu. In that case, the Zen Mode can
be deactivated either by pressing the be deactivated either by pressing the

View File

@ -240,7 +240,7 @@ function getDefaultKeyboardActions() {
}, },
{ {
actionName: "toggleZenMode", actionName: "toggleZenMode",
defaultShortcuts: ["Alt+Z"], defaultShortcuts: ["F9"],
description: t("keyboard_actions.toggle-zen-mode"), description: t("keyboard_actions.toggle-zen-mode"),
scope: "window" scope: "window"
}, },