From 49fd6b8914bb8c95ad73d9e08faee89863d1cd61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 23 May 2024 18:07:11 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(lazygit):=20use=20n?= =?UTF-8?q?vim-remote=20to=20open=20files=20instead=20of=20nvim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit when trying to edit a file when lazygit is loaded inside neovim it will launch inside neovim --- .config/lazygit/config.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml index ad287242..438401b6 100644 --- a/.config/lazygit/config.yml +++ b/.config/lazygit/config.yml @@ -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: # show help menu optionMenu-alt1: "?" # show help menu select: "" goInto: ""