shift+click to select text

Open
#4,715 5 comments 46 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

No source file or test is named in the issue. Start by locating Warp's terminal text-selection handling and read related issue #4673; verify the behavior manually by selecting text, then shift-clicking another position. Done means shift-click extends the existing selection to the clicked position with the described word-range behavior.

Written by the indexing model from the issue text.

Description

enhancement triaged
Discord username (optional)

No response

Describe the solution you'd like?

When text is already selected, I would like to be able to press shift+click and automatically select up until that point. This is a functionality in most terminals and is something I use a surprisingly amount of the time but is not present in Warp.

image

I originally did shift from the final t in requirements.txt to the second to last t (highlighting txt). Then shift clicking the first r in requirements should highlight the entire requirements.txt word.

If I were to select from the second to last to to the final t and then shift click the first r in requirements, it would highlight just the word requirements.

The algorithm is based on where you first select from, pressing shift-click will select all the text from either the cursor into the first select position or first select person to the cursor.

Is your feature request related to a problem? Please describe.

The problem is that this is supported in other terminals (VSCode, ITerm) but not in Warp.

Additional context

Looks like there are some related tickets: https://github.com/warpdotdev/Warp/issues/4673

How important is this feature to you?

5 (Can't work without it!)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

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.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.