philc / philc/vimium

How to deselect text?

Open
#3,564 5 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

Say I went to some website and used visual mode(or just mouse) to select a certain block of text as shown below:

image

Now how can I deselect this text using keyboard itself that is using only vimium? With mouse, I would just click on empty space(or div) which would deselect that text(and remove the blue highlight). When I press f however, I can see many links, but there is no dummy link where I can just simulate a click of my mouse to deselect the above selected text.

image

I also tried pressing escape, which doesn't do much.

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

The issue names no files, tests, or entry points. Reproduce text selection in Vimium and compare the existing f and Escape behavior, then trace the keyboard-command handling to determine where a keyboard-only deselection action would belong. Done means selected text can be cleared without using the mouse.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.