altsem / altsem/gitu

Proposal: Visual selection of lines to be staged

Open
#303 6 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.9k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

This project is getting better and better.
Thank you for your work on it. ❤️

Coming from Magit and using evil mode, I've used visual mode to highlight the lines I wanted to stage.
So after pressing s, everything highlighted was staged at once, without the need to individual select each line.

Did you consider something like this?

This was really convenient.

Contributor guide

No contributing guide indexed for this repository

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 proposal concerns gitu's TUI staging flow and the s action; start by locating how staging is handled and how visual selections are represented. Compare that flow with the Magit and evil-mode behavior described in the issue. Done means a user can highlight lines and stage them together, but the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.