In Trilium, tabs allow easy switching between notes.

## Layout

Depending on the Vertical and horizontal layout:

- For the vertical layout, the tabs will be placed at the top but to the right of the Note Tree.
- For the horizontal layout, the tabs will be placed at the top in full-width, above the note tree, allowing for more tabs to be comfortably displayed.

## Interaction

- To create a new tab, press the button that is to the right of the last tab.
- To close a tab, press the corresponding button.
- For multitasking, tabs can be used alongside Split View. 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:

- `Ctrl`+`T` to open a new tab.
- `Ctrl`+`W` to close the current tab.
- `Ctrl`+`Shift`+`T` to reopen the last closed tab.
- `Ctrl`+`Tab` and `Ctrl`+`Shift`+`Tab` to go to the next or previous tab.
- `Ctrl`+`1`, `Ctrl`+`2`, up to `Ctrl`+`9` 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.