Omer Cooper12 downloadsWrap selected text in custom tags, and set each wrapper's hotkey right where you create it.
An Obsidian plugin that wraps the selected text in tags you define, such as <mark>…</mark>,
<u>…</u> or <sub>…</sub>, each with its own hotkey. Press the hotkey again to unwrap.
Inspired by Wrap with shortcuts. The difference is that you set each wrapper's hotkey in the same dialog where you create it, and new wrappers work right away, with no restart.

This plugin was vibecoded: all of its code and this README were written by AI (Claude Code), directed and tested by Omer Cooper.
Open Settings → Wrap with Hotkeys and click +. In the dialog:
| Field | What it does |
|---|---|
| Name | Shown in the command palette as "Toggle name" |
| Start tag / End tag | Text put before and after the selection. One of them may be empty, e.g. a start tag of - [I] only |
| Hotkey | Click it, then press a key combination such as Ctrl+Shift+H. Esc cancels, Backspace removes it. If another command already uses the combination, the dialog tells you which one |
The dialog shows a preview of the wrapped text. Click Save, then select text in a note and press the hotkey:
The pencil and trash buttons edit and delete a wrapper. Each wrapper is also a command, so you can run it from the command palette.
app.hotkeyManager), because the public API can't set a hotkey.With BRAT: install BRAT, run
BRAT: Add a beta plugin for testing and enter OmerCooper/wrap-with-hotkeys.
Manually: copy main.js, manifest.json and styles.css from the
latest release into
<vault>/.obsidian/plugins/wrap-with-hotkeys/, reload Obsidian and turn the plugin on under
Settings → Community plugins.