philc / philc/vimium

Feature Request: Case Insensitive Regex when opening bookmark in current/new tab

Open
#3,436 0 comments 1 reaction 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

Currently, using b or B to open a bookmark in a tab is case sensitive for uppercase letters. For example, I have a bookmark titled "Calendar", and if I use b or B with "cal...", then the Calendar bookmark pops up as the first result, but if I instead type "CAL...", no results appear. Could this be changed to be case insensitive for capital letters as well, so that Calendar would still appear as a bookmark result if I start typing calendar in all caps?

The motivation behind this feature request is that I like to have caps on while using Vimium, so any time I go to open a tab with a bookmark I typically type my bookmark query in all caps.

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 at the b/B bookmark-opening command and trace the bookmark query-matching entry point. Inspect how typed text is compared with bookmark titles, then make uppercase and lowercase queries return the same results and verify the Calendar example through the existing bookmark-opening flow.

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.