Use e in lazygit to open nvim, make an edit, and return back to lazygit all in the same terminal session
#5622
ramonvermeulen
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you run lazygit you can make
editlaunch a nested nvim (subprocess) in the same terminal session, then return to LazyGit when you quit nvim.In
~/.config/lazygit/config.yml:Only figured this out after quite a long time of using lazygit, so I thought maybe it's worth sharing and can help someone.
Important
Currently this seems to be only supported for the
editkeybinding and not yet for theopenkeybinding because anopenInTerminalconfiguration option is missing, opened an issue at #5623 to hopefully support this as well.Beta Was this translation helpful? Give feedback.
All reactions