altsem / altsem/gitu

[feature-request] allow custom transients/commands

Open
#260 1 comment 4 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

(I'm sure it's not being called transients in gitu but I hope you understand it nevertheless)

It would be great to be able to add commands as new transient window or add subcommands to existing transients.

For example I have this snippet configured in my emacs config for magit. It adds an s key to the l (log) transient and executes dired. Essentially by using this I can just enter ls in the magit main buffer and get a directory listing - while staying in magit.

Another thing would be to not add new commands but modify existing ones, e.g. the look of the git log output.

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

Start by reviewing the linked Magit configuration snippet and the issue's examples of adding an s subcommand to the l transient and changing git log output. Define the supported customization model and identify the relevant gitu entry points before implementing it; done should include custom transient windows, added subcommands, and modification of existing commands.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.