philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.6k stars 2.49k forks source link

How to with hints open a tab in new tab and 'focus in on it' #4581

Open nikitavoloboev opened 2 days ago

nikitavoloboev commented 2 days ago

I could not find it in docs. There is f + hint to open tab in existing tab. F to open tab in new tab (but not switch to it).

But how to get hints and then open tab in new tab but also switch to it?

Ideally I wish I could make it work like this:

f = hints that let me open tab (in same tab I am in) F = hint that let me open tab in new tab (and not switch to tab after)

and

f = hints (same as f now but if I type in the hints in capital letters, it will open the tab in new tab and focus in on that tab)

But open to any solution that lets me open new tab from hint and switch to that tab after.

philg-dev commented 2 days ago

As part of the recent discussion in #4562 I found out that browser.tabs.loadInBackground influences this behavior.

For more details see: https://github.com/philc/vimium/issues/4562#issuecomment-2466211527