openstenoproject/plover

Have a way to open gui plugins with a stroke

Opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

It is possible to open the lookup window and suggestions window with a stroke. There are similar tools (e.g. spectra lexer, word tray) that it would also be nice to open with a stroke. Currently, you have to either use your mouse to open the plugin, or open Plover and use the shortcut for the plugin (which not all plugin developers implement).

Describe the solution you'd like

A command to open a gui plugin, e.g. {plover:open_plugin:spectra_lexer} that can be assigned to a stroke.

Describe alternatives you've considered

  1. Apparently it may be possible to do this with a plugin, e.g. plover-run-shell + using the command line to start the plugin. This feels hacky, but it could be possible to make a plugin that is less hacky
  2. {PLOVER:FOCUS}{#control(shift(l)}. Doesn't actually work in a single stroke. Even if it did, it would only works for plugins that have defined a shortcut, which many have not.

Additional context

.

Can be supplied by extensions, but requires some serious monkey-patching.

#1339

Is good enough? Maybe. But support from Plover engine makes the code cleaner.