From 27a7c25f0727b373b5d0e4693d5bb2cb4c9c3a88 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 19 Oct 2022 23:55:51 +0200 Subject: Made Sourcing lua config easier --- lua/user/git.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/user/git.lua (limited to 'lua/user/git.lua') diff --git a/lua/user/git.lua b/lua/user/git.lua new file mode 100644 index 0000000..963f7f9 --- /dev/null +++ b/lua/user/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