mirror of
https://github.com/zadam/trilium.git
synced 2025-12-01 13:04:24 +01:00
Some checks are pending
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Deploy Documentation / Build and Deploy Documentation (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / E2E tests on linux-arm64 (push) Waiting to run
playwright / E2E tests on linux-x64 (push) Waiting to run
63 lines
3.8 KiB
Markdown
Vendored
63 lines
3.8 KiB
Markdown
Vendored
# Keyboard Shortcuts
|
||
This is supposed to be a complete list of keyboard shortcuts. Note that some of these may work only in certain contexts (e.g. in tree pane or note editor).
|
||
|
||
It 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>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
|
||
|
||
Only 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
|
||
|
||
## Creating notes
|
||
|
||
* <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
|
||
|
||
> [!NOTE]
|
||
> 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
|
||
|
||
## Runtime shortcuts
|
||
|
||
These 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
|
||
|
||
## 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 |