⚙️ 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:
parent
f66e77fbb3
commit
49fd6b8914
1 changed files with 2 additions and 5 deletions
|
@ -76,10 +76,7 @@ git:
|
||||||
disableForcePushing: false
|
disableForcePushing: false
|
||||||
parseEmoji: false
|
parseEmoji: false
|
||||||
os:
|
os:
|
||||||
editPreset: "nvim" # see 'Configuring File Editing' section
|
editPreset: "nvim-remote" # see 'Configuring File Editing' section
|
||||||
edit: "nvim {{filename}}"
|
|
||||||
editAtLine: "nvim --line={{line}} {{filename}}"
|
|
||||||
editAtLineAndWait: "nvim --block --line={{line}} {{filename}}"
|
|
||||||
refresher:
|
refresher:
|
||||||
refreshInterval: 10 # File/submodule refresh interval in seconds. Auto-refresh can be disabled via option 'git.autoRefresh'.
|
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'.
|
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
|
jumpToBlock: ["1", "2", "3", "4", "5"] # goto the Nth block / panel
|
||||||
nextMatch: "n"
|
nextMatch: "n"
|
||||||
prevMatch: "N"
|
prevMatch: "N"
|
||||||
optionMenu: null # show help menu
|
optionMenu: <disabled> # show help menu
|
||||||
optionMenu-alt1: "?" # show help menu
|
optionMenu-alt1: "?" # show help menu
|
||||||
select: "<space>"
|
select: "<space>"
|
||||||
goInto: "<enter>"
|
goInto: "<enter>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue