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

[Feature Request] Extend "last-focused" to work across all tabs #60

Open
sinewave opened this issue Jan 24, 2021 · 3 comments
Open

[Feature Request] Extend "last-focused" to work across all tabs #60

sinewave opened this issue Jan 24, 2021 · 3 comments

Comments

@sinewave
Copy link

What a cool app!!

Any chance you could add the ability to track which tabs were most recently used, perhaps by extending "last-focused" to work the same was as by-title except it lists all the open tabs in MRU order?

@osnr
Copy link
Owner

osnr commented Jan 24, 2021

Hmm! I like last-focused as an easy symlink so you don't have to think too hard to access that tab. Were you thinking the tabs would be named by date in a last-focused directory?

I wonder if we can achieve this in a different way. Maybe we could make the active file in each tab have modtime, or something like that?

@sinewave
Copy link
Author

Hi @osnr, thx for the quick response!

Initially I thought that last-focused worked this way already but I see your point about the convenience of having a single symlink.

My workflow is that I often have 100+ tabs open across multiple windows which I like to jump between. Sometimes I know the title of the tab I'm looking for in which case something like by-title works great. Most times however I just know it's a recent tab that I'm looking for in which case being able to see when a tab was last focused / active would be very helpful.

Knowing the last time a tab was focused / accessed seems like a great thing to track and your idea sounds great!

@gojomo
Copy link

gojomo commented Feb 23, 2021

More generally, if every tab had a timestamp of when it was last-focused (or similarly: last-loaded; last-scrolled; last-given-a-key-or-mouse-event; etc.), it'd help enable using TabFS to drive tools for culling/folding/archiving older tabs, either with or without user-involvement. (EG: any tab that's not been focused in a week gets its title/URL/other-summary-text placed in some auto-archived bin.)

(Tangentially related: remembering points of highest/lowest scroll might enable visual hints as to whether a page has been partially read/reviewed.)

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

No branches or pull requests

3 participants