mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
29 lines
1.8 KiB
Markdown
29 lines
1.8 KiB
Markdown
# Search in note
|
||
<figure class="image image_resized" style="width:100%;"><img style="aspect-ratio:898/93;" src="Search in note_image.png" width="898" height="93"></figure>
|
||
|
||
Local search allows you to search within the currently displayed note.
|
||
|
||
## Alternatives
|
||
|
||
* Pressing Ctrl+F while in a browser while not focused in a <a class="reference-link" href="../../Note%20Types/Text.md">Text</a> or a <a class="reference-link" href="../../Note%20Types/Code.md">Code</a> note will trigger the browser's native search. This will also find text that is part of Trilium's UI.
|
||
* Pressing Ctrl+F in a <a class="reference-link" href="../../Note%20Types/Text.md">Text</a> note will reveal <a class="reference-link" href="../../Advanced%20Usage/Technologies%20used/CKEditor.md">CKEditor</a>'s search functionality.
|
||
|
||
## Accessing the search
|
||
|
||
* On desktop, press<kbd>Ctrl</kbd> + <kbd>F</kbd>
|
||
* From the <a class="reference-link" href="../UI%20Elements/Note%20buttons.md">Note buttons</a>, look for the context menu and select _Search in note_.
|
||
|
||
## Interaction
|
||
|
||
* Finding:
|
||
* Fill in the _Find in text…_ with the text to search for.
|
||
* The search will be executed automatically in the background.
|
||
* Use up and down arrows of the text box to navigate between results.
|
||
* Replacing:
|
||
* Fill in the _Find in text_… field with the text to replace.
|
||
* Fill in the _Replace with…_ field the text to replace it with.
|
||
* Press _Replace_ to replace only the current result.
|
||
* Press _Replace all_ to replace all of them at once.
|
||
* Options:
|
||
* _Case sensitive_ – the search will distinguish upper case characters from lower case (e.g. searching for Hello will not match `hello`).
|
||
* _Match words_ - the search will find only exact word matches (e.g. searching for `Java` will not match `JavaScript`). |