philc / philc/vimium

Wrap around when moving tabs

Open
#2,429 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

When pressing << on the first tab, it currently does nothing. I would like to make the tab wrap around to the end in this case, and make typing >> on the last tab move it before the first tab.

One potential issue is breaking the functionality of 99<< and 99>> to move to the first and last tabs. This could be fixed by making special cases for when the count is 99.

I am willing to implement these changes. Would you merge them?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing tab-movement handling for << and >>, then compare it with the 99<< and 99>> behavior described in issue 1727. Confirm the intended wraparound behavior at both ends and ensure the existing count-99 navigation remains intact; done means both edge cases work without regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.