bind Function

bind = ($item, item) -> ...

Purpose: Binds user interactions to the plugin’s UI elements (e.g., double-click, button clicks).

How it Works:

Double-click: Opens the text editor for the item.

Button Click: Triggers the search when the user clicks the "find" button.

Link Click: Manages the behavior when users click on result links.