[feature] Separate the caret mode from visual mode
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
To copy some text I need to enter visual mode and then if necessary enter caret mode, make movements, enter visual mode again, and then select some text and yank. Pretty annoying.
Idea is to have to modes: caret and visual. Then.
Pressing c enters caret mode, make movements, go to the targeting place.
Pressing v or V enters visual mode accordingly, make selection and copy.
To distinguish the caret and visual mode I propose to use different cursor color for caret and visual modes, green and red for example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing keyboard handling for visual mode and the cursor rendering code. Trace the c, v, and V entry points, then determine how separate caret and visual states and cursor colors should behave. Done means caret navigation and visual selection can be used independently, with distinguishable cursor colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100