kdheepak / lazygit.nvim

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

Update README.md with nvim --listen and --server #85

Closed lawrence-laz closed 1 year ago

lawrence-laz commented 1 year ago

The provided instructions help to set up an environment where pressing the key e on a file in lazygit will edit the file in the same nvim instance.

kdheepak commented 1 year ago

Do you know if this would work on Windows?

lawrence-laz commented 1 year ago

Do you know if this would work on Windows?

Not sure how Windows users start their nvim session. The first step with bash alias won't translate I guess, since there is no .bashrc on Windows. Unless they are using WSL?

Anyways, if they can start nvim with --listen ... then it should work.

But I don't have a Windows machine to test on right now, so can't say for sure.