philc / philc/vimium

Force opening a link in the current tab

Open
#2,322 3 comments 2 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

Many sites default to opening a link in a new tab. I don't prefer that and frequently use yf(copy a link) and p(paste the link) to ensure opening a link in the current tab, which is unproductive.

I'm familiar with VimFx and it made f behave more inclined to opening a link in the current tab. But I suggest retaining the current behavior of f and add a new command instead.

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 f command and the yf and p commands mentioned in the issue to understand their link-opening and key-mapping behavior. Add a separate command that opens links in the current tab while leaving f unchanged, then verify both behaviors through the project's existing command tests or manual browser testing.

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.