Making a command key for an option that already exists
You were looking in the right direction… though you cannot actually do this easily for a right click item - so long as there is a menu item in the same app, it's simple.

I've only quickly tested this on Safari &amp; TextEdit - whichever app you use must already have those 2 command options somewhere in their menu structure.

System Prefs > Keyboard > Shortcuts > App Shortcuts

Select All Applications, then click the + button.

So long as you add the full, correct menu title [&amp; that item exists in the app you are going to be using], the shortcut you ask it to use in the 3rd line will always find it. You don't need to enter any kind of menu hierarchy at all.