philc / philc/vimium

Can we colorize the different labels along with open in current tab or in new tab when hit 'f' or 'F'?

Open
#3,457 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

I am a fan of this incredible extension.
Although we have two keys
'''
map f LinkHints.activateModeToOpenInNewTab
map F LinkHints.activateMode
'''
But because the link has lots of target attibutes such as _blank, _parent and so on, sometimes we can't know the actual behavior when we hit 'f' or 'F'.
So i think it's a good way to colorize the label on the link whether it will be opend in current tab or new tab?

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 from the LinkHints.activateModeToOpenInNewTab and LinkHints.activateMode mappings described in the issue, then trace how link target attributes such as _blank and _parent are handled. Done means labels visibly distinguish links that open in the current tab from those that open in a new tab, including the behavior triggered by f and F.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.