add remote plugin to nvim

This commit is contained in:
Alexander Navarro 2025-07-22 14:33:01 -04:00
parent b6eea93564
commit dd9c225fd9
7 changed files with 74 additions and 7 deletions

View file

@ -262,10 +262,10 @@ quitOnTopLevelReturn: true
# Config relating to things outside of Lazygit like how files are opened, copying to clipboard, etc
os:
# Command for editing a file. Should contain "{{filename}}".
edit: ""
edit: "nvim -- {{filename}} && kitten @ close-window -m var:lazy_float=true --ignore-no-match"
# Command for editing a file at a given line number. Should contain
# "{{filename}}", and may optionally contain "{{line}}".
editAtLine: ""
editAtLine: "nvim +{{line}} -- {{filename}} && kitten @ close-window -m var:lazy_float=true --ignore-no-match"
# Same as EditAtLine, except that the command needs to wait until the
# window is closed.
editAtLineAndWait: ""
@ -273,7 +273,7 @@ os:
openDirInEditor: ""
# A built-in preset that sets all of the above settings. Supported presets
# are defined in the getPreset function in editor_presets.go.
editPreset: "nvim-remote"
editPreset: "nvim"
# Command for opening a file, as if the file is double-clicked. Should
# contain "{{filename}}", but doesn't support "{{line}}".
open: "xdg-open {{filename}} >/dev/null"
@ -308,7 +308,7 @@ disableStartupPopups: false
# - 'quit': exit Lazygit
notARepository: quit
# If true, display a confirmation when subprocess terminates. This allows you to view the output of the subprocess before returning to Lazygit.
promptToReturnFromSubprocess: true
promptToReturnFromSubprocess: false
# Keybindings
keybinding:
universal: