Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visitPreviousTab feature request #416

Closed
tirphana opened this issue Aug 26, 2021 · 12 comments
Closed

visitPreviousTab feature request #416

tirphana opened this issue Aug 26, 2021 · 12 comments

Comments

@tirphana
Copy link

What command or commands

visitPreviousTab

How should a feature do

When a user has done such steps:

  1. Open three new tabs, regardless the URL
  2. Discard the one that was opened last using "Auto Tab Discard" or any other similar addon
  3. The focus jumps to the tab that was opened second, now execute Vimium's visitPreviousTab command

then Vimium C should do:

  1. Jump to the tab that was opened first, and is still active. But, by default it jumps to (and refreshes) the third one, which is indeed the one previously used. However, during regular usage I find that discarding a tab is in a sense almost equivalent to closing it, and it would be much better if discarded tabs would be treated as such by this command, instead of refreshing them.

Browser and OS

  • Browser name: Firefox 89.0.2, Vimium 1.92.4
  • OS name: Arch Linux
@gdh1995
Copy link
Owner

gdh1995 commented Aug 26, 2021 via email

@tirphana
Copy link
Author

tirphana commented Aug 26, 2021

That's exactly right, it should visit the previous non-discarded tab, which is A in this case you mentioned. I assume it would be available on the next update then?

gdh1995 added a commit that referenced this issue Nov 6, 2021
* `.filter`: add `discarded=false` for
  #416
* `captureTab`: add `copy` for
  #473
* custom css: add `#find:selection` for
  #481
@gdh1995

This comment has been minimized.

@tirphana

This comment has been minimized.

@gdh1995

This comment has been minimized.

@gdh1995 gdh1995 added the bug label Jan 4, 2022
@tirphana

This comment has been minimized.

@gdh1995

This comment has been minimized.

@tirphana

This comment has been minimized.

@gdh1995

This comment has been minimized.

@gdh1995

This comment has been minimized.

@gdh1995
Copy link
Owner

gdh1995 commented Jan 11, 2022

Hello, you may take a try with Vimium C v1.96.3 on Firefox Add-Ons, which has fixed some bugs about filter, and then visitPreviousTab filter="discarded=false" should work.

@tirphana
Copy link
Author

Yaaay, it works now, thank you for implementing this! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants