kdheepak / lazygit.nvim

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

Blank window overriding code after opening lazygit.nvim on start screen #134

Open redyf opened 3 months ago

redyf commented 3 months ago

Description

Blank window overriding code after opening lazygit.nvim on Neovim startup (Happens if you're using Alpha.nvim).

To Reproduce

  1. Open Neovim
  2. Run :LazyGit in Nvim's start screen with alpha.nvim installed
  3. Close LazyGit and the blank windows should be there

Expected behavior

What is expected to happen: LazyGit closes normally and I can open any file I want without producing a blank window.

Screenshots

https://github.com/kdheepak/lazygit.nvim/assets/98139059/85ce6c78-22cd-48b8-8026-68a05f5ca2a4

Desktop (please complete the following information):

Kang-geophysics commented 2 months ago

When I mapped <Esc> to <C-\><C-n> to exit terminal mode, using <Esc> to quit lazygit brought this problem. I guess this problem may be related with this kind of keymapping.