Hotkey to spawn context menu in editor

The idea is to be able to assign a custom hotkey to “right click” or “shift+f10” shortcut, to open the context menu at cursor location in an editor.

I would like to integrate this feature in my plugin editor-commands-remap, but I can’t seem to find a way to do this with the Obsidian API.

How would one go about implementing this idea ?

1 Like