RoamJS / workbench

https://roamjs.com/extensions/workbench
The Unlicense
286 stars 35 forks source link

Bind single platform-specific meta key for Hot Keys activation #379

Closed huylenq closed 1 year ago

huylenq commented 1 year ago

Current: All modifiers are bound along with the j key as a prefix to activate the Hot Keys feature: Alt+j, Ctrl+j, CMD+j (even in the combination with other modifiers, for example: Ctrl+Shift+j is also considered a Hot Keys activation). This occupies unnecessary key-binding space of other plugins. For example, Spatial Graph Sidebar uses various modifiers in combination with JKHL to navigate around the graph.

Suggestion: Either automatically bind only the platform-specific meta key (Ctrl on Windows, Linux; Cmd on Mac, iOS; etc) or/and expose a settings for use to choose their preference.

dvargas92495 commented 1 year ago

Neither Ctrl nor Cmd are platform specific - Mac has a ctrl key and windows has the window key which matches the same flag as the Mac's command key.

We could make the "jump" key configurable

dvargas92495 commented 1 year ago

jump key configurable through roam depot hot keys