lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Write initial PR description using editor while respecting the pull_request_template.md

Open sozoalvin opened this issue 3 years ago • 8 comments

Topic Creating PR using editor (vim/nvim) while respecting the pull_requuest_template.md or yml file etc

Your thoughts I think what we have here is a genius piece of work while every effort has been made to ensure we have a great experience; im getting lazy opening PRs.

So i thought layzgit could get lazier

Im thinking we should have an option of opening a PR through our editor (i'll personally prefer opening a PR and filling information up in vim/nvim) instead of the web UI.

like; we can open the editor when we e into a file; surely we can do the same for opening a PR. what do you guys think?

sozoalvin avatar Sep 12 '22 13:09 sozoalvin

Have you tried using o to create pull request? Press x in the Local Branches panel for more info.

mark2185 avatar Sep 12 '22 13:09 mark2185

yep! that opens web right?

sozoalvin avatar Sep 12 '22 13:09 sozoalvin

Well yes, that opens up the prompt to open up a new pull request.

Did I understand correctly, that's what you wanted?

Im thinking we should have an option of opening a PR through our editor as well.

mark2185 avatar Sep 12 '22 13:09 mark2185

oh; let me edit my thoughts real quick. i was hoping opening a pull request via our chosen editor. In this case; i would prefer nvim

sozoalvin avatar Sep 12 '22 13:09 sozoalvin

i was hoping opening a pull request via our chosen editor

Okay, but what does "opening a pull request" actually mean? Just writing the initial PR description?

mark2185 avatar Sep 12 '22 13:09 mark2185

yes! that' is correct! should i word it differently?

sozoalvin avatar Sep 12 '22 13:09 sozoalvin

That's okay, I renamed it. Someone will pick up the discussion sooner or later.

mark2185 avatar Sep 12 '22 13:09 mark2185

thank you so much! i appreciate all that you do!

sozoalvin avatar Sep 12 '22 13:09 sozoalvin