jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esc wont close commit message window/Takes me out of insert mode

whoop-t opened this issue · comments

Describe the bug
Using Astronvim (This may actually just be an Astronvim issue, if believed so I will close issue and open there)
When in commit message prompt, esc just takes me out of insert mode. Cant exit any prompt in lazygit

To Reproduce
Steps to reproduce the behavior:

  1. Clone Astronvim
  2. brew install lazygit (tap)
  3. make change to file, open lazygit (leader + gg)
  4. Open commit prompt, press esc

Expected behavior
Close commit message window

Screenshots
Screen Shot 2022-06-12 at 10 20 34 PM
(cursor fly off to do its own thing)

Desktop (please complete the following information):

  • OS: macOS Monterey
  • Latest

Using Astronvim (This may actually just be an Astronvim issue, if believed so I will close issue and open there)

I didn't quite get this part, do you open lazygit from within astronvim, in the internal terminal or? Does it happen with regular nvim?

Latest

Does that mean you've built from sources or?

Because if it doesn't, could you try building current master to see if it helps?

Sorry I am new to Lazygit, only learned about it through Astronvim

It looks like it works fine when running it straight from the terminal. Might be something with the Astronvim config that is conflicting with the esc key in the Lazygit context when in Astronvim

I am going to close this and post in Astronvim

ezoic increase your site revenue