Bookmarks¶
Bookmarks are named, reusable SQL snippets saved to disk under bookmarks_dir. They are organized into two scopes:
- Global: shared across all configured users/environments.
- User: private to the currently active user profile.
Adding Bookmarks (:TDBAdd)¶
Visually select the SQL query or statement, then run:
:[range]TDBAdd
You will be prompted for a name and scope (global or user).
Managing Bookmarks (:TDB)¶
Open the interactive bookmark manager with:
:TDB
Controls¶
| Keymap | Action |
|---|---|
<CR> |
Load the selected bookmark into a new split window |
a |
Create a new bookmark interactively |
d |
Delete the bookmark under the cursor (with confirmation) |
q |
Close the bookmark manager buffer |
| ## Demo |