[Firefox] workaround for trigerring comment preview on GitHub #1264
FranklinYu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firefox on macOS has a keyboard shortcut Command Shift P to open a private tab. Unfortunately, this conflicts with GitHub shortcut of “show preview” for the Markdown editor, so I would have to click the tab to toggle between the editor and the preview. Not nice for Vimium users!
As far as I know, Firefox doesn’t allow add-ons (like Vimium-C) to override the built-in shortcuts, so we cannot simply “fix” it with Vimium-C. As a workaround, I found an unused combination Command Option P, and redirected it to Command Shift P, but only on GitHub. Vimium-C configuration:
Note that this is for macOS (as this is the only system I use). It’s easy to adapt it for other OSes.
References:
Beta Was this translation helpful? Give feedback.
All reactions