philc / vimium

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

Preventing tabs from closing when use shortcuts from vimium to close tabs #3507

Open jefferyyuan opened 4 years ago

jefferyyuan commented 4 years ago

It's common that we want to prevent some websites from accidentally close:

It would be useful if users can tell vimium that: don't close these websites when I use shortcuts from vimium to close current tabs, tabs on left, tabs on right, etc.


Thanks

gdh1995 commented 4 years ago

You can "pin" a tab by right-click the tab in browser's title bar or using Vimium command togglePinTab.

ianyepan commented 4 years ago

To disable that globally, use the wildcard "*" as the URL pattern, and put "x" in excluded keys.