philc / philc/vimium

Feature request: Use selected text in vomnibar; or compatibility with Swift Selection Search.

Open
#3,696 0 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

The 'Swift Selection Search' add-on offers a cheap alternative to iOS's context menu in desktop Firefox on Linux.

Vimium breaks some functionality of SSS, as the pop-up text field is not recognized by vimium.

I would be really happy, if vimium would just recognize the text field of SSS, however I think vimium could easily replace SSS altogether, if the vomnibar was tweaked a little bit.

Proposal: Selecting text and pressing 'o' would result in the vomnibar pop-up in a state of:

  • The selected text shown in the text field.
  • Search engines listed on top to easily tab into.
    • Maybe automatically prefixing the selected text with the user defined shortcut on tab selection, because...
    • Modifying or completely deleting the text field may restore standard vomnibar functionality.
    • Alternatively, starting with the cursor in front of the selected text for easy shortcut insertion.

I think this would enable an awesome workflow. Especially for Thinkpad users, as selecting text doesn't require them to leave the home row.

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 vomnibar flow invoked when pressing “o” and how selected text and the Swift Selection Search pop-up text field are handled. Determine how search engines, text editing, and normal vomnibar behavior should interact. Done means selected text appears in the vomnibar with the proposed search-engine workflow, while existing vomnibar functionality remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
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.