philc / philc/vimium

Swap `J` and `K` when Firefox is using vertical tabs

Open
#4,648 6 comments 3 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

Describe the bug

When using vertical tabs on Firefox J goes to the previous tab which is above the current and K goes to the next which is below. This is opposite to how it would work in vim.

Suggestion

A toggle button to swap J and K would probably be the best solution.

Browser and Vimium version

Name 	Firefox
Version 	136.0
Build-ID 	20250303224729
Distributions-ID 	archlinux
User-Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0

Vimium version 2.1.2

If you're using Chrome, include the Chrome and OS version found at chrome://version. Also include
the Vimium version found at chrome://extensions.

If you're using Firefox, report the Firefox and OS version found at about:support. Also include the
Vimium version found at about:addons.

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 Vimium's existing J/K tab-navigation behavior and the options UI used for keyboard settings. Determine how the Firefox vertical-tab layout affects the current ordering, then verify that the proposed toggle consistently swaps the commands and that the setting is reflected in the extension's controls.

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.