kdheepak / lazygit.nvim

Plugin for calling lazygit from within neovim.
MIT License
1.29k stars 53 forks source link

Can't make commit in lazygit integrated to AstroNvim. #122

Open funny-falcon opened 4 months ago

funny-falcon commented 4 months ago

I start to make commit using 'c' key. I fill commit summary and message and then... I just can't understand how to finish editing and do actual commit.

Sorry for such newbie question...

kdheepak commented 4 months ago

What happens when you make a commit using c? I don't use AstroNvim, so not exactly sure what is going on.

funny-falcon commented 4 months ago

Commit dialog appears with two fields: summary and message. I could enter text and switch field with TAB, but I don't get how to finish test edition and perform actual commit.

belyakov-am commented 3 months ago

What happens when you press "enter" while your cursor is in the commit message section?

funny-falcon commented 3 months ago

iirc, enters new line (when I'm in message body). I don’t remember what happens when I'm message title.

belyakov-am commented 3 months ago

I believe while being in message title and pressing "enter" should create the commit. And then by pressing P (shift + p) this commit should be pushed to the origin.