Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature Request: "Duplicate" #943

Open
rpavlik opened this issue Sep 20, 2024 · 0 comments
Open

Feature Request: "Duplicate" #943

rpavlik opened this issue Sep 20, 2024 · 0 comments

Comments

@rpavlik
Copy link

rpavlik commented Sep 20, 2024

A lot of times when cleaning up branches, I want to duplicate a line, to apply the relevant parts of a commit early, but keep changes to recently-added files where they are. (Things like making an API change at the same time as adding an implementation, I'll duplicate so I can split up "make API change and fix existing impls" from "add new impl which will now land with the new API")

This was really easy in Nano, ctrl-k, then press ctrl-u twice (or more), but it's annoyingly hard in this otherwise awesome tool. Sometimes I will use the Insert function but I have to memorize the commit hash to do it that way, because you can't see the todo list when entering your commit hash for I (which is another small UI quirk weakness). Other times I will override the editor to just use Nano again.

Wish I had cycles to help contribute this, but at least at the moment I do not. If I get a chance I'll take a look, though.

Thanks for this very awesome tool! I joke sometimes that I'm a professional rebaser, and this has made my work a lot easier!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant