mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(zen): change default keyboard shortcut to F9 (closes #1372)
This commit is contained in:
parent
83890ba130
commit
68e1e68cfe
@ -57,4 +57,4 @@ Trilium has some special support for day notes in the form of [backend Script AP
|
|||||||
|
|
||||||
Day (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.
|
Day (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).
|
@ -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:
|
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.
|
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.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user