From c349d1f7998d97f60d3a3945ce8da166b33bf1c8 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 12 Oct 2022 23:55:30 +0200 Subject: Initial commit --- nvim/lua/plugins/git.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nvim/lua/plugins/git.lua (limited to 'nvim/lua/plugins/git.lua') diff --git a/nvim/lua/plugins/git.lua b/nvim/lua/plugins/git.lua new file mode 100644 index 0000000..963f7f9 --- /dev/null +++ b/nvim/lua/plugins/git.lua @@ -0,0 +1,11 @@ +local status, git = pcall(require, "git") +if (not status) then return end + +git.setup({ + keymaps = { + -- Open blame window + blame = "gb", + -- Open file/folder in git repository + browse = "go", + } +}) -- cgit v1.2.3