philc / philc/vimium

Make the createTab command support opening the URL in the current tab

Open
#4,069 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

reviewed
Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Using Vimium 1.67 in Brave.

I'd like to set a shortcut for "open in current tab". For instance : "open www.google.com in current tab".
Obviously, without having to type the URL. It has to be a preset URL, indicated in the Vimium config.

The createTab command opens a specific URL in a new tab and switches to this new tab, but there doesn't seem to be a command to do the same thing in the current tab.

Is there a command for that, or at least a way to bodge it?

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 createTab command and the Vimium configuration where preset URLs are defined. Check how command arguments and current-tab navigation are handled; done means a configured preset URL can be invoked by a shortcut and replaces the current tab without opening or switching to a new tab.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.