Repository navigation
Replies: 1 comment 6 replies
|
Hi! Just add this to yout lazygit.yml os:
edit: '[ -z "$NVIM" ] && (nvim -- {{filename}}) || (nvim --server "$NVIM" --remote-send "q" && nvim --server "$NVIM" --remote {{filename}})'a config like this should also work, but for me it does not return
{
"folke/snacks.nvim",
opts = {
lazygit = {
config = {
os = {
editPreset = "nvim-remote",
-- this does not work, i dunno why
edit =
'[ -z "$NVIM" ] && (nvim -- {{filename}}) || (nvim --server "$NVIM" --remote-send "q" && nvim --server "$NVIM" --remote {{filename}})'
}
}
}
}
} |
6 replies
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.
Currently when pressing e(edit) on a file in lazygit, it opens in a new tab. Is it possible to open it in the current tab instead?
All reactions