crittermike / shortkeys

A browser extension for custom keyboard shortcuts
https://www.shortkeys.app/
Other
1k stars 159 forks source link

Google Docs: Is this possible? shortkey to "Insert" Bookmark | also "Insert" Horizontal Line #389

Open quicksite opened 3 years ago

quicksite commented 3 years ago

I don't have javascript programming knowledge, have searched for Gdocs addons for custom shortcuts, could find any. This seems like my best bet, but I don't know how to program it, or if these actions are possible? insert horizontal line

insert bookmark

nsrosenqvist commented 3 years ago

These actions would be possible if Docs didn't hijack keyboard input completely (see https://github.com/mikecrittenden/shortkeys/issues/53). I, too, would love to see a way to get this extension working for Google Docs as there are some core keyboard shortcuts that I can't execute on my laptop's keyboard, and would like the option to rebind them. @mikecrittenden have you taken another look at if it's possible to get it working for Docs since #53?

tomhundt commented 1 year ago

@quicksite Maybe use some lower-level software (autohotkey, bettertouchtool) to remap the shortcut of your choice to Ctrl-Opt-i r (which are the GDocs shortcuts for Insert menu>insert horizontal line).

Unfortunately, that shortcut will be active on all websites, no matter if you're on docs.google.com or reddit.com or whatever. 🤷🏻‍♂️