Get started

Searching snippets

Updated

There are several ways to search for and insert your snippets. If a snippet has a shortcut, you can also type the shortcut directly in a text field.

In a text field, type a backslash (\) to open Sapling's inline snippet search, then keep typing to search. Use the arrow keys and Enter to insert a snippet, or Escape to close the search.

To use a different key, go to Settings in the Sapling dashboard and change Snippet search under Keyboard shortcuts. The key must be a single non-alphanumeric character.

Sapling badge

Hover over the Sapling badge in the bottom-right corner of the active text field. Select Search snippets to open the snippet finder, or Save as snippet to start a new snippet from the text in the field.

Search snippets button on the Sapling badge

Keyboard shortcut

Press Ctrl+L on Mac or Alt+L on Windows to open the snippet finder. You can change this shortcut in your browser. See Keyboard shortcuts.