I’d like to propose an enhancement to snippets: the ability to apply a snippet to pre-selected text and have the snippet automatically reference that selection.
In practice, this would enable an “enrich” workflow-highlight part of the text and run a snippet that wraps or inserts around the selection (e.g., formatting, templating, adding tags/quotes/links) without changing how I’m editing.
Right now, the closest workaround is using the clipboard flow (cut/copy → run snippet → paste), which adds an extra step (e.g., an additional Ctrl+X/Ctrl+C) and breaks the editing rhythm.
If possible, supporting something like a “selected text” variable (e.g., {selection}) or a “wrap selection” snippet mode would make snippets significantly faster and more intuitive to use.