Closed Lcchy closed 7 months ago
Browsers including Firefox and Chrome haven't provided such an API to let a web-extension move focus from address bar to page content.
If you do want to use a shortcut, here's a trick which is far from perfect:
shortcut userCustomized1 command="reopenTab"
to Custom Key Mappings on Vimium C Options pageabout:addons
manually and assign a shortcut to Custom shortcut 1
of Vimium C, like this:
Warning: although this trick does "move focus to page content", it will destroy you current page and "reopen" it, so all your writting and scrolling positions will be lost.
Oh I see, all right, thanks a lot for the advice! I am also getting used to use the vomnibar and I get less trapped in the Firefox address bar.
I have found another way that I am now using, in case anyone comes by this issue:
When the url bar is focused, hitting Ctr+H opens the history sidebar while also defocusing the url bar. Hitting it again closes the sidebar and refocuses the page without a reload, it even restores the cursor position.
How should a feature do
When a user has done such steps:
Escape
in order to scroll the page with Vimium-C keybindingsthen Vimium C should do:
Maybe implement a global shortcut like Tridactyl does with
Ctrl+,
? Could an action triggered by a Firefox add-on shortcut allow for this?I have tried to find solutions to this problem in the wiki and the issue tracker, sorry if I missed something.
Browser and OS