altsem / altsem/gitu

CTRL + D and CTRL + U do not scroll

Open
#542 1 comment 0 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 is a feature request for another vim motion that evil-magit generally supports but is not in the latest release of gitu. CTRL+D and CTRL+U are page scrollers, and are mostly useful for looking through tons of unstaged changes. Pressing tab on one staged change to see it could blow up the screen, so being able to scroll up and down could be pretty useful, for example to view a stash, or open a recent commit, or be able to easily collapse all changes if you're deep in reviewing.

EDIT: Apparently it DOES work, but it doesn't move the cursor when the page is static. So skipping lines in gitu and jumping between lines on screen is harder

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

Reproduce the behavior in gitu while reviewing unstaged changes, a stash, or a recent commit, using CTRL+D and CTRL+U. Trace the existing page-scrolling and cursor movement handling; done means these motions scroll the view and make skipping or jumping between visible lines easier.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.