Figment V2 just launched on Product Hunt 🎉 Leave a comment for a FREE Figma UI Kit

Short answer: Figma doesn't have a setting for assigning a keyboard shortcut to one specific plugin, but there are three ways to run plugins from the keyboard:
If you use one plugin all the time, option 3 gives it a dedicated key combination. For everything else, options 1 and 2 are usually enough.
Figma has two built-in plugin shortcuts:
| Action | Mac | Windows |
|---|---|---|
| Run the last plugin again | ⌥ Option + ⌘ Command + P | Ctrl + Alt + P |
| Open Quick Actions (search for a plugin by name) | ⌘ Command + / | Ctrl + / |
Run last plugin is the fastest option when you run the same plugin repeatedly, for example running a plugin on one frame after another. Quick Actions works for any plugin you've installed or saved: type a few letters of its name and press Enter. Both work in the Figma desktop app and in the browser.
On a Mac, the desktop app lists your plugins in its native menu bar, and macOS lets you bind a keyboard shortcut to any menu item in any app. That gives a plugin its own shortcut. We'll use the Figment plugin as the example, but this works with any Figma Community plugin.
This only works in the Figma desktop app for Mac. Browser Figma and Windows don't expose plugins through an OS-level menu, so use the built-in shortcuts above instead.
Install the plugin from its Community page, then open any Figma file. Right-click the canvas and go to Plugins to see it:

The same plugins also appear in the Mac menu bar at the top of the screen. Note the plugin's name exactly as it appears there, including capitalization and punctuation. For Figment it's "Figment.so".

Open System Settings (System Preferences on macOS Monterey and earlier) → Keyboard → Keyboard Shortcuts… → App Shortcuts.

Click +, then:

Click Done (or Add on older macOS versions).
Pick a combination Figma doesn't already use. Before you save it, press the combination in Figma. If something happens, it's taken; choose another.
Go back to Figma and open the plugins menu in the menu bar. Your shortcut now appears next to the plugin's name:

Select a layer and press your shortcut. The plugin opens.
If the shortcut doesn't appear, the menu title almost always doesn't match exactly. Check spacing and punctuation against the menu bar and re-enter it. Restarting Figma after adding the shortcut can also help.
If you want a plugin worth a dedicated shortcut: Figment turns your Figma design into a live website without code. Here's how to publish a Figma design as a website, or install the Figment plugin and try it on any frame.