Stop at specials characters (like '.' , ',' , '-' , '_') when moving cursor backwards/forward by one word

Open
#3,915 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

The issue names no files, tests, or entry points. Start by locating the terminal input handling for forward and backward word movement; done means configurable stop characters make movement stop at each separator in the provided example.

Written by the indexing model from the issue text.

Description

enhancement triaged
Discord username (optional)

No response

Describe the solution you'd like?
Please provide a configuration for additional stop characters for moving the cursor forward/backward by one word ?

For example:   "word0 word1.word2-word3_word4"

iterm2 stops at each word in the example above but warp will stop only two times- once for the word0 and one for the rest. If we can configure the stop chars, Warp will also stop at each word.
Is your feature request related to a problem? Please describe.
On iterm2, when I move cursor backward or forward by one word, it stops at the special characters. Doing the same thing on warp, it goes until it finds another space.
Additional context

No response

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

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.