-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When opening Lazygit inside Neovim and trying to edit a file with e, Lazygit hangs.
To Reproduce
Steps to reproduce the behavior:
- Start
LazygitinNeovim. - Select a file in the
Lazygitfiles list. - Press
e.
As a result, the Lazygit terminal will hang.
Expected behavior
After running the e command, I would expect Lazygit to close and Neovim to open a new tab with the corresponding file to be edited.
Version info:
lazygit --version:
commit=3675570a391b1a49ddd198b4c7e71e17701d4404, build date=2024-03-23T09:09:11Z, build source=binaryRelease, version=0.41.0, os=windows, arch=amd64, git version=2.44.0.windows.1
git --version:
git version 2.44.0.windows.1
Additional context
The problem could be related to this code:
https://github.com/jesseduffield/lazygit/blob/master/pkg/config/editor_presets.go#L54-L61
It seems a command to be run in a Linux environment.
So, I suppose there would have to be a Windows equivalent command. Also, how and where should the NVIM variable be set?
radlinskii, woertsposzibllen4me, LeeSF03, solid174, l0ngvh and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working