hackworthltd / primer-app

Primer's React frontend application.
GNU Affero General Public License v3.0
3 stars 0 forks source link

Hotkeys #17

Open dhess opened 3 years ago

dhess commented 3 years ago

While reviewing our Code in UI document, I dug up an interesting comment that suggested creating keyboard hotkeys that correspond to the "icons" on some of the action buttons in the sidebar. For example, we show $ for function application, so we could make "$" a hotkey for inserting a function application at the cursor location.

dhess commented 3 years ago

This has also come up in a few testing sessions. This should be relatively easy to do in the current prototype.

dhess commented 3 years ago

I looked into this briefly, and it is not, in fact, easy to do in our current prototype. We will revisit this when the time comes for primer.