From 5732b56f6180c7f6853e3b38bd19552d17572589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 8 Oct 2025 00:46:31 +0200 Subject: [PATCH] feat: add f-person/git-blame.nvim --- lua/plugins/git_blame.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/plugins/git_blame.lua diff --git a/lua/plugins/git_blame.lua b/lua/plugins/git_blame.lua new file mode 100644 index 0000000..24942aa --- /dev/null +++ b/lua/plugins/git_blame.lua @@ -0,0 +1,11 @@ +MiniDeps.later(function() + MiniDeps.add("f-person/git-blame.nvim") + require("gitblame").setup({ + enabled = true, + message_template = " : ", + date_format = "%Y-%m-%d", + }) + + vim.keymap.set("n", "gt", ":GitBlameToggle") + vim.keymap.set("n", "gs", ":GitBlameCopySHA") +end)