philc / philc/vimium

Idea: map a key to switch to a specific tab by name (combo with chords)

Open
#3,793 0 comments 0 reactions 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

Hi,

I hope this is not too crazy an idea, but in my daily use of Vimium there's something that I would find incredibly valuable. There's a number of tabs that are always open and that I regularly return to (calendar, personal and professional inbox, etc.). So a great double-feature would be:

  • map a key chord (I don't think it's possible right now?) such as <c-]>c for "ctrl+c then c" so that I don't run out of viable keys to map
  • allow for a command mapping such as map <c-]>c jumpToTabByName "calendar.google" , which would allow with a single keypress to go directly to a commonly used tab (assuming it's open, otherwise nothing would happen; if more than 1 match then the first one, or last used one) without having to open the tab search bar and type the first few characters
    Alternatively, having some special, permanent marks based on tab name or URL matching could do the trick, but I think it's cleaner in the above way.

Any chance this could be picked up? Thanks for the great work in any case!
Cheers,
Pierric.

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

No files or tests are named. Start by tracing Vimium’s existing key-mapping flow and tab-search entry point, then define how chord mappings and name or URL matching should interact. Done should provide a documented mapping that activates the requested tab when a match exists and has defined behavior for no or multiple matches.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.