Addon idea: delete a bookmark from a searchbar using Shift + Delete

Hi there!
I have an idea to add a feature - deleting bookmarks from a searchbar using Shift + Delete.
See the example here:

Now it works for history items only.
It would be cool to extend this feature to bookmarks.
It’s quite difficult for me to make such an addon.
If someone find it easy to do, could you please create such an addon?
I would be immensely happy :grinning: