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
docs(user): improve documentation on tree keyboard shortcuts
Elian Doran22c4fba66556
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.htmlindex a9c2d7c65f..c50cd159a4 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.html@@ -5,69 +5,50 @@Keyboard shortcuts. Using <code>global:</code> prefix, you can assign a shortcutwhich will work even without Trilium being in focus (requires app restartto take effect).</p>+<h2>Tree</h2>+<p>See the corresponding section: <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/oPVyFC7WL2Lp/_help_DvdZhoQZY9Yd">Keyboard shortcuts</a>+</p><h2>Note navigation</h2><ul>- <li><kbd><span>↑</span></kbd>, <kbd><span>↓</span></kbd> - go up/down in the- list of notes, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↑</span></kbd> and <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↓</span></kbd> work- also from editor</li>- <li><kbd><span>←</span></kbd>, <kbd><span>→</span></kbd> - collapse/expand node</li>- <li><kbd>Alt</kbd> + <kbd><span>←</span></kbd>, <kbd>Alt</kbd> + <kbd><span>→</span></kbd> -+ <li data-list-item-id="ed8fd9c2ab08ae80ea76c1ae5dc943e90"><kbd>Alt</kbd> + <kbd><span>←</span></kbd>, <kbd>Alt</kbd> + <kbd><span>→</span></kbd> –go back / forwards in the history</li>- <li><kbd>Ctrl</kbd> + <kbd>J</kbd> - show <a href="#root/_help_MMiBEQljMQh2">"Jump to" dialog</a>+ <li data-list-item-id="eff3c5760b3d985e7808f1524982fcb9b"><kbd>Ctrl</kbd> + <kbd>J</kbd> – show <a href="#root/_help_MMiBEQljMQh2">"Jump to" dialog</a></li>- <li><kbd>Ctrl</kbd> + <kbd>.</kbd> - scroll to current note (useful when you+ <li data-list-item-id="e1fdee08a424868922b0579e78584279c"><kbd>Ctrl</kbd> + <kbd>.</kbd> – scroll to current note (useful when youscroll away from your note or your focus is currently in the editor)</li>- <li><kbd><span>Backspace</span></kbd> - jumps to parent note</li>- <li><kbd>Alt</kbd> + <kbd>C</kbd> - collapse whole note tree</li>- <li><kbd>Alt</kbd> + <kbd>-</kbd> (alt with minus sign) - collapse subtree (if- some subtree takes too much space on tree pane you can collapse it)</li>- <li>you can define a <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>#keyboardShortcut</code> with- e.g. value <kbd>Ctrl</kbd> + <kbd>I</kbd> . Pressing this keyboard combination- will then bring you to the note on which it is defined. Note that Trilium- must be reloaded/restarted (<kbd>Ctrl</kbd> + <kbd>R</kbd> ) for changes to- be in effect.</li>+ <li+ data-list-item-id="e9bbc51f19a729c10997010a915779d07"><kbd><span>Backspace</span></kbd> – jumps to parent note</li>+ <li data-list-item-id="eaaa0f36b2e561d4a24358552e633d924"><kbd>Alt</kbd> + <kbd>C</kbd> – collapse whole note tree</li>+ <li data-list-item-id="ee625a141f5298dbd52ecb6e56693e647"><kbd>Alt</kbd> + <kbd>-</kbd> (alt with minus sign) – collapse subtree (if+ some subtree takes too much space on tree pane you can collapse it)</li>+ <li+ data-list-item-id="ec1bf00840a017ea798880470e419f3d9">you can define a <a href="#root/_help_zEY4DaJG4YT5">label</a> <code>#keyboardShortcut</code> with+ e.g. value <kbd>Ctrl</kbd> + <kbd>I</kbd> . Pressing this keyboard combination+ will then bring you to the note on which it is defined. Note that Trilium+ must be reloaded/restarted (<kbd>Ctrl</kbd> + <kbd>R</kbd> ) for changes to+ be in effect.</li></ul><p>See demo of some of these features in <a href="#root/_help_MMiBEQljMQh2">note navigation</a>.</p><h2>Tabs</h2><ul>- <li><kbd>Ctrl</kbd> + <kbd>🖱 Left click</kbd> - (or middle mouse click) on note+ <li data-list-item-id="e6a9d460427c0394177000c8a0eecfca4"><kbd>Ctrl</kbd> + <kbd>🖱 Left click</kbd> – (or middle mouse click) on notelink opens note in a new tab</li></ul><p>Only in desktop (electron build):</p><ul>- <li><kbd>Ctrl</kbd> + <kbd>T</kbd> - opens empty tab</li>- <li><kbd>Ctrl</kbd> + <kbd>W</kbd> - closes active tab</li>- <li><kbd>Ctrl</kbd> + <kbd>Tab</kbd> - activates next tab</li>- <li><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Tab</kbd> - activates previous tab</li>+ <li data-list-item-id="e745e6690db1a4bee718faa94b272013e"><kbd>Ctrl</kbd> + <kbd>T</kbd> – opens empty tab</li>+ <li data-list-item-id="ec34c224c2c0dd74367753a6aff4f9721"><kbd>Ctrl</kbd> + <kbd>W</kbd> – closes active tab</li>+ <li data-list-item-id="e4b9a2163cccc3ab7dbdcf6fb7f149315"><kbd>Ctrl</kbd> + <kbd>Tab</kbd> – activates next tab</li>+ <li data-list-item-id="eeeabd750227ec42c30b282b9b8ab5c8d"><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Tab</kbd> – activates previous tab</li></ul><h2>Creating notes</h2><ul>- <li><code>CTRL+O</code> - creates new note after the current note</li>- <li><code>CTRL+P</code> - creates new sub-note into current note</li>- <li><code>F2</code> - edit <a href="#root/_help_MMiBEQljMQh2">prefix</a> of current- note clone</li>-</ul>-<h2>Moving / cloning notes</h2>-<ul>- <li><kbd>Ctrl</kbd> + <kbd><span>↑</span></kbd> , Ctrl + <kbd><span>↓</span></kbd> -- move note up/down in the note list</li>- <li><kbd>Ctrl</kbd> + <kbd><span>←</span></kbd> - move note up in the note tree</li>- <li><kbd>Ctrl</kbd>+<kbd><span>→</span></kbd> - move note down in the note- tree</li>- <li><kbd>Shift</kbd>+<kbd><span>↑</span></kbd>, <kbd>Shift</kbd><code>+</code><kbd><span>↓</span></kbd> -- multi-select note above/below</li>- <li><kbd>Ctrl</kbd>+<kbd>A</kbd> - select all notes in the current level</li>- <li><kbd>Shift</kbd>+<kbd>🖱 Left click</kbd> - multi select note which you- clicked on</li>- <li><kbd>Ctrl</kbd>+<kbd>C</kbd> - copies current note (or current selection)- into clipboard (used for <a href="#root/_help_IakOLONlIfGI">cloning</a>- </li>- <li><kbd>Ctrl</kbd>+<kbd>X</kbd> - cuts current (or current selection) note- into clipboard (used for moving notes)</li>- <li><kbd>Ctrl</kbd>+<kbd>V</kbd> - pastes note(s) as sub-note into current- note (which is either move or clone depending on whether it was copied- or cut into clipboard)</li>- <li><kbd>Del</kbd> - delete note / sub-tree</li>+ <li data-list-item-id="e90a7441e67297c921f8bb2145829dd55"><kbd>CTRL</kbd>+<kbd>O</kbd> – creates new note after the current note</li>+ <li+ data-list-item-id="e6064f6dd7b09083448cfb52247c94baa"><kbd>CTRL</kbd>+<kbd>P</kbd> – creates new sub-note into current note</li>+ <li+ data-list-item-id="e191cb0e7231c4439632d70da65dcf800"><kbd>F2</kbd> – edit <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/IakOLONlIfGI/_help_TBwsyfadTA18">Branch prefix</a> of+ current note clone</li></ul><h2>Editing notes</h2><aside class="admonition note">@@ -77,30 +58,32 @@class="reference-link" href="#root/_help_QrtTYPmdd1qq">Markdown-like formatting</a>.</p></aside><ul>- <li><kbd>Enter</kbd> in tree pane switches from tree pane into note title.+ <li data-list-item-id="eea3611b470b2482ccf07e8844e4f66b9"><kbd>Enter</kbd> in tree pane switches from tree pane into note title.Enter from note title switches focus to text editor. <kbd>Ctrl</kbd>+<kbd>.</kbd> switchesback from editor to tree pane.</li>- <li><kbd>Ctrl</kbd>+<kbd>.</kbd> - jump away from the editor to tree pane and+ <li data-list-item-id="e5dab831910ac694ccef7bc474b2e67fc"><kbd>Ctrl</kbd>+<kbd>.</kbd> – jump away from the editor to tree pane andscroll to current note</li></ul><h2>Runtime shortcuts</h2><p>These are hooked in Electron to be similar to native browser keyboardshortcuts.</p><ul>- <li><kbd>F5</kbd>, <kbd>Ctrl</kbd>-<kbd>R</kbd> - reloads Trilium front-end</li>- <li><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> - show developer tools</li>- <li><kbd>Ctrl</kbd>+<kbd>F</kbd> - show search dialog</li>- <li><kbd>Ctrl</kbd>+<kbd>-</kbd> - zoom out</li>- <li><kbd>Ctrl</kbd>+<kbd>=</kbd> - zoom in</li>+ <li data-list-item-id="e1a17ce297e78109362180536b7eabd68"><kbd>F5</kbd>, <kbd>Ctrl</kbd>+<kbd>R</kbd> – reloads Trilium front-end</li>+ <li+ data-list-item-id="e07d1b25dc46ce0b0bd76a8db13373198"><kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> – show developer tools</li>+ <li+ data-list-item-id="e7dc66078ba520c48364952f2ac48aa79"><kbd>Ctrl</kbd>+<kbd>F</kbd> – show search dialog</li>+ <li data-list-item-id="e63161bd165a51e19fd04dd1223173e68"><kbd>Ctrl</kbd>+<kbd>-</kbd> – zoom out</li>+ <li data-list-item-id="e961144d0a57b51792830a2182459c8cf"><kbd>Ctrl</kbd>+<kbd>=</kbd> – zoom in</li></ul><h2>Other</h2><ul>- <li><kbd>Alt</kbd>+<kbd>O</kbd> - show SQL console (use only if you know what+ <li data-list-item-id="eb007c4ea2f2cd6eefbc8972d538c724c"><kbd>Alt</kbd> + <kbd>O</kbd> – show SQL console (use only if you know whatyou're doing)</li>- <li><kbd>Alt</kbd>+<kbd>M</kbd> - distraction-free mode - display only note+ <li data-list-item-id="e9caedb43e6c66fc7c57b4899bd6d5d76"><kbd>Alt</kbd> + <kbd>M</kbd> – distraction-free mode - display only noteeditor, everything else is hidden</li>- <li><kbd>F11</kbd> - toggle full screen</li>- <li><kbd>Ctrl</kbd> + <kbd>S</kbd> - toggle <a href="#root/_help_eIg8jdvaoNNd">search</a> form+ <li data-list-item-id="ec55bd0e5ff7da0c488a5378c0bdabed5"><kbd>F11</kbd> – toggle full screen</li>+ <li data-list-item-id="e8d4ec0d76155371de5d060ad661cb19e"><kbd>Ctrl</kbd> + <kbd>S</kbd> – toggle <a href="#root/_help_eIg8jdvaoNNd">search</a> formin tree pane</li>- <li><kbd>Alt</kbd> +<kbd>A</kbd> - show note <a href="#root/_help_zEY4DaJG4YT5">attributes</a> dialog</li>+ <li data-list-item-id="eb938081f527f44b158be7c3ed4af4925"><kbd>Alt</kbd> +<kbd>A</kbd> – show note <a href="#root/_help_zEY4DaJG4YT5">attributes</a> dialog</li></ul>\ No newline at end of filediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.htmlindex befdaae03a..833792e851 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.html@@ -1,33 +1,53 @@<p>The <a class="reference-link" href="#root/_help_oPVyFC7WL2Lp">Note Tree</a> comeswith multiple keyboard shortcuts to make editing faster:</p>+<h2>Navigation within the tree</h2><ul>- <li>Opening notes:- <ul>- <li><kbd>Click</kbd> to open the note in the current tab.</li>- <li><kbd>Ctrl</kbd>+<kbd>Click</kbd> or <kbd>Middle click</kbd> to open the note- in a new tab.</li>- <li><kbd>Ctrl</kbd>+<kbd>Right click</kbd> to open the note in <a class="reference-link"- href="#root/_help_ZjLYv08Rp3qC">Quick edit</a>.</li>- </ul>- </li>- <li>Navigation within the tree:- <ul>- <li><kbd>Up</kbd> and <kbd>Down</kbd> to navigate between notes.</li>- <li><kbd>Left</kbd> to collapse a note, or <kbd>Right</kbd> to expand it.</li>- </ul>- </li>- <li>Clipboard management:- <ul>- <li><kbd>Ctrl</kbd>+<kbd>C</kbd> to copy a note.</li>- <li><kbd>Ctrl</kbd>+<kbd>X</kbd> to cut a note.</li>- <li><kbd>Ctrl</kbd>+<kbd>V</kbd> to paste it somewhere.</li>- </ul>- </li>- <li>For <a class="reference-link" href="#root/_help_yTjUdsOi4CIE">Multiple selection</a>:- <ul>- <li><kbd>Alt</kbd>+<kbd>Click</kbd>to add a single note to the current selection.</li>- <li><kbd>Shift</kbd>+<kbd>Click</kbd>to select a range of notes, starting- from the current note (the highlighted one) to the one that is being clicked.</li>- </ul>- </li>+ <li data-list-item-id="eede1a5721dab5213153c6bb25bad38c9"><kbd><span>↑</span></kbd> and <kbd><span>↑</span></kbd> to navigate between+ notes.</li>+ <li data-list-item-id="ec4c4ab60720b34a95f73e93223ed3628"><kbd><span>←</span></kbd> to collapse a note with children, or <kbd><span>→</span></kbd> to+ expand it.</li>+ <li data-list-item-id="eb5ad59d78e70611d0233ffbb5ede3b96"><kbd><span>←</span></kbd> on a note with no children to navigate to its+ parent.</li>+</ul>+<h2>Opening notes</h2>+<ul>+ <li data-list-item-id="e3d92e8c3a1e5b9d6f2efe5067004ef5c"><kbd>Click</kbd> to open the note in the current tab.</li>+ <li data-list-item-id="e8ae44ff429a0da1d529c627874f54908"><kbd>Ctrl</kbd>+<kbd>Click</kbd> or <kbd>Middle click</kbd> to open the note+ in a new tab.</li>+ <li data-list-item-id="e183b1a014e2bd563450dac0c8913c6f0"><kbd>Ctrl</kbd>+<kbd>Right click</kbd> to open the note in <a class="reference-link"+ href="#root/_help_ZjLYv08Rp3qC">Quick edit</a>.</li>+</ul>+<h2>Clipboard management</h2>+<ul>+ <li data-list-item-id="e28fb424bcc0d06b97ddcbcbc5145c350"><kbd>Ctrl</kbd>+<kbd>C</kbd> to copy one or more notes based on selection+ (see <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_IakOLONlIfGI">Cloning Notes</a>).</li>+ <li+ data-list-item-id="e11c4c9fcdfeb566a58d9319a340ff893"><kbd>Ctrl</kbd>+<kbd>X</kbd> to cut one or more notes (for moving them).</li>+ <li+ data-list-item-id="e242519cf16b3414242c4d11f20688b5b"><kbd>Ctrl</kbd>+<kbd>V</kbd> to paste them somewhere (which results in+ a copy or move based on the shortcut used).</li>+</ul>+<h2>Moving notes</h2>+<ul>+ <li data-list-item-id="ee2d0e5633e0ab23d0fcde7b968731794"><kbd>Ctrl</kbd> + <kbd><span>↑</span></kbd> , <kbd>Ctrl</kbd> + <kbd><span>↓</span></kbd> -+ move note up/down in the note list.</li>+ <li data-list-item-id="e14146e7aacfc92aa7daf8215ce4b379c"><kbd>Ctrl</kbd> + <kbd><span>←</span></kbd> - move note up in the note tree.</li>+ <li+ data-list-item-id="e21a7f5ab9d62af04b6ab81b0cc4cf8c7"><kbd>Ctrl</kbd>+<kbd><span>→</span></kbd> - move note down in the note+ tree.</li>+ <li data-list-item-id="e99f4b0aef9693ad25ca0ce62c5b67418"><kbd>Del</kbd> - deletes note and optionally its subtree (asked in the+ dialog).</li>+</ul>+<h2>Multiple selection</h2>+<p>See <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/oPVyFC7WL2Lp/_help_yTjUdsOi4CIE">Multiple selection</a> for+ more information about how selection works.</p>+<ul>+ <li data-list-item-id="ebe4907d702229ab599e50f753d23cfb6"><kbd>Alt</kbd>+<kbd>Click</kbd> – add a single note to the current selection.</li>+ <li+ data-list-item-id="ecf6bb49f8d993d376382dcab4e4a7ee8"><kbd>Shift</kbd>+<kbd>Click</kbd> – select a range of notes, starting from+ the current note (the highlighted one) to the one that is being clicked.</li>+ <li+ data-list-item-id="eb1398c2cf85b53eafc3b7ab7a0974668"><kbd>Shift</kbd>+<kbd><span>↑</span></kbd>, <kbd>Shift</kbd>+<kbd><span>↓</span></kbd> –+ multi-select not above/below.</li>+ <li data-list-item-id="ebc1274f576f67d08a6d665a7318d80a8"><kbd>Ctrl</kbd>+<kbd>A</kbd> – select all notes in the current level</li></ul>\ No newline at end of filediff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.htmlindex 6ff3dc0a46..034f3c653e 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/List View.html@@ -12,9 +12,9 @@as a single continuous document.</p><h2>Interaction</h2><ul>- <li data-list-item-id="e8a9709d9f325dab560cb24289d5ab231">Each note can be expanded or collapsed by clicking on the arrow to the+ <li>Each note can be expanded or collapsed by clicking on the arrow to theleft of the title.</li>- <li data-list-item-id="e38647a2388fb38e1c6de17b617db9e76">In the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>,+ <li>In the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>,in the <em>Collection</em> tab there are options to expand and to collapseall notes easily.</li></ul>@@ -25,16 +25,15 @@<p>If exported to PDF within the desktop application, there is additionalfunctionality:</p><ul>- <li data-list-item-id="e06095ff0a3876a29bdc11f1a2f18dfdc">The table of contents of the PDF will reflect the structure of the notes.</li>- <li- data-list-item-id="e656526a5aa019d58af324ae5c3d39216">Reference and inline links to other notes within the same hierarchy will+ <li>The table of contents of the PDF will reflect the structure of the notes.</li>+ <li>Reference and inline links to other notes within the same hierarchy willbe functional (will jump to the corresponding page). If a link refers toa note that is not in the printed hierarchy, it will be unlinked.</li></ul><h2>Expanding and collapsing multiple notes at once</h2><p>Apart from individually expanding or collapsing notes, it's also possibleto expand or collapse them all at once. To do so, go to the <em>Collection Properties</em> tab- in the <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_BlN9DFI679QC">Ribbon</a> and+ in the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a> andlook for the corresponding button.</p><p>By default, the <em>Expand</em> button will only expand the direct children(first level) of the collection. Starting with v0.100.0, it's possible@@ -45,7 +44,7 @@<aside class="admonition tip"><p>By design, the UI provides only a handful of levels of depth for expandingnotes (direct children, 2-5, all levels). It's also possible to specify- any desired depth by manually setting the <a href="#root/pOsGYCXsbNQG/tC7s2alapj8V/zEY4DaJG4YT5/_help_HI6GBBIduIgv">corresponding label</a>.+ any desired depth by manually setting the <a href="#root/_help_HI6GBBIduIgv">corresponding label</a>.For example: <code>#expanded=100</code> to expand up to 100 levels of depth.</p></aside><aside class="admonition note">diff --git a/docs/Developer Guide/Developer Guide/Documentation.md b/docs/Developer Guide/Developer Guide/Documentation.mdindex 4092f40045..9fb14206ed 100644--- a/docs/Developer Guide/Developer Guide/Documentation.md+++ b/docs/Developer Guide/Developer Guide/Documentation.md@@ -1,5 +1,5 @@# Documentation-There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/VUKpkCok5Zh4/Documentation_image.png" width="205" height="162">+There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/Xtlv3JlumknM/Documentation_image.png" width="205" height="162">* The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing <kbd>F1</kbd>.* The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers.diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 96ac8d3a16..2d8e47cb53 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -2380,13 +2380,6 @@"isInheritable": false,"position": 20},- {- "type": "relation",- "name": "internalLink",- "value": "yTjUdsOi4CIE",- "isInheritable": false,- "position": 30- },{"type": "label","name": "iconClass",@@ -2400,6 +2393,20 @@"value": "keyboard-shortcuts","isInheritable": false,"position": 40+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "IakOLONlIfGI",+ "isInheritable": false,+ "position": 50+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "yTjUdsOi4CIE",+ "isInheritable": false,+ "position": 60}],"format": "markdown",@@ -5211,13 +5218,6 @@"isInheritable": false,"position": 20},- {- "type": "relation",- "name": "internalLink",- "value": "IakOLONlIfGI",- "isInheritable": false,- "position": 30- },{"type": "relation","name": "internalLink",@@ -5259,6 +5259,20 @@"value": "bx bxs-keyboard","isInheritable": false,"position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "DvdZhoQZY9Yd",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "TBwsyfadTA18",+ "isInheritable": false,+ "position": 100}],"format": "markdown",@@ -10576,6 +10590,13 @@"isInheritable": false,"position": 30},+ {+ "type": "relation",+ "name": "internalLink",+ "value": "HI6GBBIduIgv",+ "isInheritable": false,+ "position": 40+ },{"type": "label","name": "iconClass",@@ -10589,13 +10610,6 @@"value": "list","isInheritable": false,"position": 30- },- {- "type": "relation",- "name": "internalLink",- "value": "HI6GBBIduIgv",- "isInheritable": false,- "position": 40}],"format": "markdown",diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.md b/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.mdindex 6b6ed97ca2..13259152fd 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Keyboard Shortcuts.md@@ -3,49 +3,38 @@ This is supposed to be a complete list of keyboard shortcuts. Note that some ofIt is also possible to configure most keyboard shortcuts in Options -> Keyboard shortcuts. Using `global:` prefix, you can assign a shortcut which will work even without Trilium being in focus (requires app restart to take effect).+## Tree++See the corresponding section: <a class="reference-link" href="UI%20Elements/Note%20Tree/Keyboard%20shortcuts.md">Keyboard shortcuts</a>+## Note navigation-* <kbd><span>↑</span></kbd>, <kbd><span>↓</span></kbd> - go up/down in the list of notes, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↑</span></kbd> and <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↓</span></kbd> work also from editor-* <kbd><span>←</span></kbd>, <kbd><span>→</span></kbd> - collapse/expand node-* <kbd>Alt</kbd> + <kbd><span>←</span></kbd>, <kbd>Alt</kbd> + <kbd><span>→</span></kbd> - go back / forwards in the history-* <kbd>Ctrl</kbd> + <kbd>J</kbd> - show ["Jump to" dialog](Navigation/Note%20Navigation.md)-* <kbd>Ctrl</kbd> + <kbd>.</kbd> - scroll to current note (useful when you scroll away from your note or your focus is currently in the editor)-* <kbd><span>Backspace</span></kbd> - jumps to parent note-* <kbd>Alt</kbd> + <kbd>C</kbd> - collapse whole note tree-* <kbd>Alt</kbd> + <kbd>-</kbd> (alt with minus sign) - collapse subtree (if some subtree takes too much space on tree pane you can collapse it)+* <kbd>Alt</kbd> + <kbd><span>←</span></kbd>, <kbd>Alt</kbd> + <kbd><span>→</span></kbd> – go back / forwards in the history+* <kbd>Ctrl</kbd> + <kbd>J</kbd> – show ["Jump to" dialog](Navigation/Note%20Navigation.md)+* <kbd>Ctrl</kbd> + <kbd>.</kbd> – scroll to current note (useful when you scroll away from your note or your focus is currently in the editor)+* <kbd><span>Backspace</span></kbd> – jumps to parent note+* <kbd>Alt</kbd> + <kbd>C</kbd> – collapse whole note tree+* <kbd>Alt</kbd> + <kbd>-</kbd> (alt with minus sign) – collapse subtree (if some subtree takes too much space on tree pane you can collapse it)* you can define a [label](../Advanced%20Usage/Attributes.md) `#keyboardShortcut` with e.g. value <kbd>Ctrl</kbd> + <kbd>I</kbd> . Pressing this keyboard combination will then bring you to the note on which it is defined. Note that Trilium must be reloaded/restarted (<kbd>Ctrl</kbd> + <kbd>R</kbd> ) for changes to be in effect.See demo of some of these features in [note navigation](Navigation/Note%20Navigation.md).## Tabs-* <kbd>Ctrl</kbd> + <kbd>🖱 Left click</kbd> - (or middle mouse click) on note link opens note in a new tab+* <kbd>Ctrl</kbd> + <kbd>🖱 Left click</kbd> – (or middle mouse click) on note link opens note in a new tabOnly in desktop (electron build):-* <kbd>Ctrl</kbd> + <kbd>T</kbd> - opens empty tab-* <kbd>Ctrl</kbd> + <kbd>W</kbd> - closes active tab-* <kbd>Ctrl</kbd> + <kbd>Tab</kbd> - activates next tab-* <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Tab</kbd> - activates previous tab+* <kbd>Ctrl</kbd> + <kbd>T</kbd> – opens empty tab+* <kbd>Ctrl</kbd> + <kbd>W</kbd> – closes active tab+* <kbd>Ctrl</kbd> + <kbd>Tab</kbd> – activates next tab+* <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Tab</kbd> – activates previous tab## Creating notes-* `CTRL+O` - creates new note after the current note-* `CTRL+P` - creates new sub-note into current note-* `F2` - edit [prefix](Navigation/Note%20Navigation.md) of current note clone--## Moving / cloning notes--* <kbd>Ctrl</kbd> + <kbd><span>↑</span></kbd> , Ctrl + <kbd><span>↓</span></kbd> - move note up/down in the note list-* <kbd>Ctrl</kbd> + <kbd><span>←</span></kbd> - move note up in the note tree-* <kbd>Ctrl</kbd>+<kbd><span>→</span></kbd> - move note down in the note tree-* <kbd>Shift</kbd>+<kbd><span>↑</span></kbd>, <kbd>Shift</kbd>`+`<kbd><span>↓</span></kbd> - multi-select note above/below-* <kbd>Ctrl</kbd>+<kbd>A</kbd> - select all notes in the current level-* <kbd>Shift</kbd>+<kbd>🖱 Left click</kbd> - multi select note which you clicked on-* <kbd>Ctrl</kbd>+<kbd>C</kbd> - copies current note (or current selection) into clipboard (used for [cloning](Notes/Cloning%20Notes.md)-* <kbd>Ctrl</kbd>+<kbd>X</kbd> - cuts current (or current selection) note into clipboard (used for moving notes)-* <kbd>Ctrl</kbd>+<kbd>V</kbd> - pastes note(s) as sub-note into current note (which is either move or clone depending on whether it was copied or cut into clipboard)-* <kbd>Del</kbd> - delete note / sub-tree+* <kbd>CTRL</kbd>+<kbd>O</kbd> – creates new note after the current note+* <kbd>CTRL</kbd>+<kbd>P</kbd> – creates new sub-note into current note+* <kbd>F2</kbd> – edit <a class="reference-link" href="Notes/Cloning%20Notes/Branch%20prefix.md">Branch prefix</a> of current note clone## Editing notes@@ -53,22 +42,22 @@ Only in desktop (electron build):> For keyboard shortcuts specific to <a class="reference-link" href="../Note%20Types/Text.md">Text</a> notes, refer to <a class="reference-link" href="../Note%20Types/Text/Keyboard%20shortcuts.md">Keyboard shortcuts</a> and <a class="reference-link" href="../Note%20Types/Text/Markdown-like%20formatting.md">Markdown-like formatting</a>.* <kbd>Enter</kbd> in tree pane switches from tree pane into note title. Enter from note title switches focus to text editor. <kbd>Ctrl</kbd>+<kbd>.</kbd> switches back from editor to tree pane.-* <kbd>Ctrl</kbd>+<kbd>.</kbd> - jump away from the editor to tree pane and scroll to current note+* <kbd>Ctrl</kbd>+<kbd>.</kbd> – jump away from the editor to tree pane and scroll to current note## Runtime shortcutsThese are hooked in Electron to be similar to native browser keyboard shortcuts.-* <kbd>F5</kbd>, <kbd>Ctrl</kbd>\-<kbd>R</kbd> - reloads Trilium front-end-* <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> - show developer tools-* <kbd>Ctrl</kbd>+<kbd>F</kbd> - show search dialog-* <kbd>Ctrl</kbd>+<kbd>-</kbd> - zoom out-* <kbd>Ctrl</kbd>+<kbd>=</kbd> - zoom in+* <kbd>F5</kbd>, <kbd>Ctrl</kbd>+<kbd>R</kbd> – reloads Trilium front-end+* <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> – show developer tools+* <kbd>Ctrl</kbd>+<kbd>F</kbd> – show search dialog+* <kbd>Ctrl</kbd>+<kbd>-</kbd> – zoom out+* <kbd>Ctrl</kbd>+<kbd>=</kbd> – zoom in## Other-* <kbd>Alt</kbd>+<kbd>O</kbd> - show SQL console (use only if you know what you're doing)-* <kbd>Alt</kbd>+<kbd>M</kbd> - distraction-free mode - display only note editor, everything else is hidden-* <kbd>F11</kbd> - toggle full screen-* <kbd>Ctrl</kbd> + <kbd>S</kbd> - toggle [search](Navigation/Search.md) form in tree pane-* <kbd>Alt</kbd> +<kbd>A</kbd> - show note [attributes](../Advanced%20Usage/Attributes.md) dialog\ No newline at end of file+* <kbd>Alt</kbd> + <kbd>O</kbd> – show SQL console (use only if you know what you're doing)+* <kbd>Alt</kbd> + <kbd>M</kbd> – distraction-free mode - display only note editor, everything else is hidden+* <kbd>F11</kbd> – toggle full screen+* <kbd>Ctrl</kbd> + <kbd>S</kbd> – toggle [search](Navigation/Search.md) form in tree pane+* <kbd>Alt</kbd> +<kbd>A</kbd> – show note [attributes](../Advanced%20Usage/Attributes.md) dialog\ No newline at end of filediff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.mdindex ffcb3fc0b8..89e5e72c8d 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.md@@ -1,17 +1,36 @@# Keyboard shortcutsThe <a class="reference-link" href="../Note%20Tree.md">Note Tree</a> comes with multiple keyboard shortcuts to make editing faster:-* Opening notes:- * <kbd>Click</kbd> to open the note in the current tab.- * <kbd>Ctrl</kbd>+<kbd>Click</kbd> or <kbd>Middle click</kbd> to open the note in a new tab.- * <kbd>Ctrl</kbd>+<kbd>Right click</kbd> to open the note in <a class="reference-link" href="../../Navigation/Quick%20edit.md">Quick edit</a>.-* Navigation within the tree:- * <kbd>Up</kbd> and <kbd>Down</kbd> to navigate between notes.- * <kbd>Left</kbd> to collapse a note, or <kbd>Right</kbd> to expand it.-* Clipboard management:- * <kbd>Ctrl</kbd>+<kbd>C</kbd> to copy a note.- * <kbd>Ctrl</kbd>+<kbd>X</kbd> to cut a note.- * <kbd>Ctrl</kbd>+<kbd>V</kbd> to paste it somewhere.-* For <a class="reference-link" href="Multiple%20selection.md">Multiple selection</a>:- * <kbd>Alt</kbd>+<kbd>Click</kbd>to add a single note to the current selection.- * <kbd>Shift</kbd>+<kbd>Click</kbd>to select a range of notes, starting from the current note (the highlighted one) to the one that is being clicked.\ No newline at end of file+## Navigation within the tree++* <kbd><span>↑</span></kbd> and <kbd><span>↑</span></kbd> to navigate between notes.+* <kbd><span>←</span></kbd> to collapse a note with children, or <kbd><span>→</span></kbd> to expand it.+* <kbd><span>←</span></kbd> on a note with no children to navigate to its parent.++## Opening notes++* <kbd>Click</kbd> to open the note in the current tab.+* <kbd>Ctrl</kbd>+<kbd>Click</kbd> or <kbd>Middle click</kbd> to open the note in a new tab.+* <kbd>Ctrl</kbd>+<kbd>Right click</kbd> to open the note in <a class="reference-link" href="../../Navigation/Quick%20edit.md">Quick edit</a>.++## Clipboard management++* <kbd>Ctrl</kbd>+<kbd>C</kbd> to copy one or more notes based on selection (see <a class="reference-link" href="../../Notes/Cloning%20Notes.md">Cloning Notes</a>).+* <kbd>Ctrl</kbd>+<kbd>X</kbd> to cut one or more notes (for moving them).+* <kbd>Ctrl</kbd>+<kbd>V</kbd> to paste them somewhere (which results in a copy or move based on the shortcut used).++## Moving notes++* <kbd>Ctrl</kbd> + <kbd><span>↑</span></kbd> , <kbd>Ctrl</kbd> + <kbd><span>↓</span></kbd> - move note up/down in the note list.+* <kbd>Ctrl</kbd> + <kbd><span>←</span></kbd> - move note up in the note tree.+* <kbd>Ctrl</kbd>+<kbd><span>→</span></kbd> - move note down in the note tree.+* <kbd>Del</kbd> - deletes note and optionally its subtree (asked in the dialog).++## Multiple selection++See <a class="reference-link" href="Multiple%20selection.md">Multiple selection</a> for more information about how selection works.++* <kbd>Alt</kbd>+<kbd>Click</kbd> – add a single note to the current selection.+* <kbd>Shift</kbd>+<kbd>Click</kbd> – select a range of notes, starting from the current note (the highlighted one) to the one that is being clicked.+* <kbd>Shift</kbd>+<kbd><span>↑</span></kbd>, <kbd>Shift</kbd>+<kbd><span>↓</span></kbd> – multi-select not above/below.+* <kbd>Ctrl</kbd>+<kbd>A</kbd> – select all notes in the current level\ No newline at end of file