⚙️ config(lazygit): use nvim-remote to open files instead of nvim

when trying to edit a file when lazygit is loaded inside neovim it will launch inside neovim
This commit is contained in:
Sergio Laín 2024-05-23 18:07:11 +02:00
parent f66e77fbb3
commit 49fd6b8914
No known key found for this signature in database
GPG key ID: FB00AF7015FFE76B

View file

@ -76,10 +76,7 @@ git:
disableForcePushing: false
parseEmoji: false
os:
editPreset: "nvim" # see 'Configuring File Editing' section
edit: "nvim {{filename}}"
editAtLine: "nvim --line={{line}} {{filename}}"
editAtLineAndWait: "nvim --block --line={{line}} {{filename}}"
editPreset: "nvim-remote" # see 'Configuring File Editing' section
refresher:
refreshInterval: 10 # File/submodule refresh interval in seconds. Auto-refresh can be disabled via option 'git.autoRefresh'.
fetchInterval: 60 # Re-fetch interval in seconds. Auto-fetch can be disabled via option 'git.autoFetch'.
@ -116,7 +113,7 @@ keybinding:
jumpToBlock: ["1", "2", "3", "4", "5"] # goto the Nth block / panel
nextMatch: "n"
prevMatch: "N"
optionMenu: null # show help menu
optionMenu: <disabled> # show help menu
optionMenu-alt1: "?" # show help menu
select: "<space>"
goInto: "<enter>"