count + W: the count should not wrap
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
For example, if I open 20 tabs, currently I am at tab 11, if I type 10+W, 11+W, 20+W or 99+W, the effect should be same:
- it should split the tabs into 2 parts, the first 10 in one window, the next 10 tabs in another window.
This will make it much easier for us to split currents tabs to 2 windows.
Also this is consistent as other commands: number+x, number+>>(or <<)
- number+r is different for good reason.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the W command and its numeric-prefix handling in the Vimium codebase. Verify the behavior with 20 tabs at tab 11: 10+W, 11+W, 20+W, and 99+W should split the first 10 tabs into one window and the remaining 10 into another.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100