lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Esc and Quit conflicting

Open paulhmurray opened this issue 3 years ago • 1 comments

Describe the bug Loading LazyGit with NeoVim plugin there is conflict when using Esc and then trying to exit LazyGit with 'q' command for quit

To Reproduce Steps to reproduce the behavior:

  1. Load LazyGit
  2. Press Esc
  3. Then try and leave LazyGit by pressing 'q' for quit won't work
  4. Only way to exit is to use Vim's ":q"

Expected behavior That exiting the floating LazyGit screen will work regardless of pressing the 'esc' button

Screenshots Not much need for a screenshot, as the floating LazyGit window just hangs until I select ":q" for vim exit

Version info: LazyGit Version 0.34 Git version 2.34.1

paulhmurray avatar Aug 12 '22 00:08 paulhmurray

Wouldn't this be an issue for the plugin, then?

mark2185 avatar Aug 12 '22 06:08 mark2185

Yes, that is correct. Sorry

paulhmurray avatar Oct 20 '22 05:10 paulhmurray

hi @paulhmurray, did you find a solution to this?

shasherazi avatar Apr 03 '23 19:04 shasherazi

No @shasherazi i didn't figure a solution. I'm on AstroNvim now, rather than my previous NeoVim setup. Lazy Git works perfectly here, and when I re-create the steps it doesn't fault like before.

paulhmurray avatar Apr 28 '23 06:04 paulhmurray

Did you find how AstroNvim does it tho @paulhmurray?

shasherazi avatar Apr 28 '23 06:04 shasherazi

I'm sorry, I didn't. I lost interest once it was resolved. Looking at the dotfiles, it all looks very standard for lazy git install mate. Perhaps it was more of a localised issue.

paulhmurray avatar Apr 28 '23 07:04 paulhmurray