From f9b9d23f9a6327f52091b218f08f97f9903b3584 Mon Sep 17 00:00:00 2001 From: rootiest Date: Mon, 16 Sep 2024 09:46:29 -0400 Subject: [PATCH] feat: add nvim-remote support to streamline git operations --- lua/config/options.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/config/options.lua b/lua/config/options.lua index 7a1de72..1aa6a1e 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -136,3 +136,8 @@ vim.g.completion_borders = "rounded" ---@type string Options: [round|sharp|fla -- ━━━━━━━━━━━━━━━━━━━━━━━━ Post-Config Functions ━━━━━━━━━━━━━━━━━━━━━━━━ -- Setup blinky cursor require("utils.blinky").setup(vim.g.blinky) + +-- Setup nvim-remote +if vim.fn.executable("nvr") == 1 then + vim.env.GIT_EDITOR = "nvr -cc split --remote-wait +'set bufhidden=wipe'" +end