feat(docs): document tabs

This commit is contained in:
Elian Doran
2025-04-04 20:55:11 +03:00
parent 92c1dd1177
commit c8f2798fc2
13 changed files with 273 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@@ -9,4 +9,5 @@ In Trilium, is possible to work with two or more notes side-by-side.
* It is possible to have as many splits as desired, simply press again the button.
* Only horizontal splits are possible, vertical or drag & dropping is not supported.
* When at least one split is open, press the ![](https://file+.vscode-resource.vscode-cdn.net/home/elian/UI%20Elements/3_Split%20View_image.png)![](Split%20View_3_Split%20View_im.png) button next to it to close it.
* Use the ![](Split%20View_4_Split%20View_im.png)![](https://file+.vscode-resource.vscode-cdn.net/home/elian/UI%20Elements/4_Split%20View_image.png) or the ![](Split%20View_1_Split%20View_im.png)![](https://file+.vscode-resource.vscode-cdn.net/home/elian/UI%20Elements/1_Split%20View_image.png) button to move around the splits.
* Use the ![](Split%20View_4_Split%20View_im.png)![](https://file+.vscode-resource.vscode-cdn.net/home/elian/UI%20Elements/4_Split%20View_image.png) or the ![](Split%20View_1_Split%20View_im.png)![](https://file+.vscode-resource.vscode-cdn.net/home/elian/UI%20Elements/1_Split%20View_image.png) button to move around the splits.
* Each [tab](Tabs.md) has its own split view configuration (e.g. one tab can have two notes in a split view, whereas the others are one-note views).

View File

@@ -0,0 +1,30 @@
# Tabs
![](2_Tabs_image.png)
In Trilium, tabs allow easy switching between notes.
## Layout
Depending on the [Vertical and horizontal layout](Vertical%20and%20horizontal%20layout.md):
* For the vertical layout, the tabs will be placed at the top but to the right of the [Note Tree](Note%20Tree.md).
* For the horizontal layout, the tabs will be placed at the top in full-width, above the [Note Tree](Note%20Tree.md), allowing for more tabs to be comfortably displayed.
## Interaction
* To create a new tab, press the ![](1_Tabs_image.png) button that is to the right of the last tab.
* To close a tab, press the corresponding ![](Tabs_image.png) button.
* For multitasking, tabs can be used alongside [Split View](Split%20View.md). Each tab can have one or more notes, displayed horizontally.
* Tabs can be reordered by drag-and-dropping it into a new position.
* An existing tab can be displayed in a new window by dragging the tab upwards or downwards. It is not possible to combine tabs back into another window.
## Keyboard interaction
Since tabs are a commonly used feature, there are multiple keyboard shortcuts that can be used:
* <kbd>Ctrl</kbd>+<kbd>T</kbd> to open a new tab.
* <kbd>Ctrl</kbd>+<kbd>W</kbd> to close the current tab.
* <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>T</kbd> to reopen the last closed tab.
* <kbd>Ctrl</kbd>+<kbd>Tab</kbd> and <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> to go to the next or previous tab.
* <kbd>Ctrl</kbd>+<kbd>1</kbd>, <kbd>Ctrl</kbd>+<kbd>2</kbd>, up to <kbd>Ctrl</kbd>+<kbd>9</kbd> to activate the first, second and up til ninth tab.
* There is also a shortcut to go to the last tab, but it is not assigned a key by default.

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B