jesseduffield / jesseduffield/lazygit
[Bug] `nvim-remote` not working on Windows 11
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
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:
1. Start `Lazygit` in `Neovim`.
2. Select a file in the `Lazygit` files list.
3. 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`:
```log
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`:
```log
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?
Contributor guide
Assessment
This issue has not been assessed yet.