feat(lazygit): dont close when hitting q inside neovim

This commit is contained in:
Sergio Laín 2025-02-02 00:41:04 +01:00
parent 4eb37e7ab3
commit 212789c05e
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -48,7 +48,7 @@ git:
allBranchesLogCmd: "git log --graph --all --color=always --abbrev-commit --date-relative --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'"
parseEmoji: true
os:
editPreset: "nvim-remote" # see 'Configuring File Editing' section
edit: '[ -z "$NVIM" ] && (nvim -- {{filename}}) || (nvim --server "$NVIM" --remote-send "q" && nvim --server "$NVIM" --remote {{filename}})'
disableStartupPopups: true
notARepository: "skip" # one of: 'prompt' | 'create' | 'skip' | 'quit'
keybinding: