Force opening a link in the current tab
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
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 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