philc / vimium

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

Style the omnibar different when a new tab is going to be opened #4509

Open ManuelTS opened 4 months ago

ManuelTS commented 4 months ago

When the omnibar is displayed by a shortcut for a new tab, render it visually different than the omnibar replacing the URL of the current tab. Possible solutions from the top of my head:

As I think of that, you maybe to the exact opposite, render the replace-current-tab omnibar with as vim's :ls command displays its files:

UncleSnail commented 4 months ago

I also like this idea. If @philc agrees that it is good, I can take over implementing it if @ManuelTS would like. Another option if we don't want to add a prefix by default would be to add a class to the vomnibar for each action that opened it. This would allow custom styles to be added to each vomnibar type and would allow users to change the color of the input box or add a prefix with :before text.

ManuelTS commented 3 months ago

I see you are definitely more in the code as me, feel free to take over and to take off ;)