From 49ecb67edc1b0e9e25a2d1dc51702dd116fa080c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 17 Mar 2023 17:34:11 +0000 Subject: [PATCH] Add fugitive (again) --- config/nvim/lua/config/init.lua | 1 + config/nvim/lua/plugins/fugitive.lua | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 config/nvim/lua/plugins/fugitive.lua diff --git a/config/nvim/lua/config/init.lua b/config/nvim/lua/config/init.lua index 00cf68ac..c47d1d60 100644 --- a/config/nvim/lua/config/init.lua +++ b/config/nvim/lua/config/init.lua @@ -19,6 +19,7 @@ vim.keymap.set("n", "l", "Lazy") vim.keymap.set("n", "m", "Mason") vim.keymap.set("n", "s", "Dashboard") vim.keymap.set("n", "z", "ZenMode") +vim.keymap.set("n", "g", "Git") vim.keymap.set({ "n", "t" }, "", "NavigatorLeft") vim.keymap.set({ "n", "t" }, "", "NavigatorRight") vim.keymap.set({ "n", "t" }, "", "NavigatorUp") diff --git a/config/nvim/lua/plugins/fugitive.lua b/config/nvim/lua/plugins/fugitive.lua new file mode 100644 index 00000000..1389a6a7 --- /dev/null +++ b/config/nvim/lua/plugins/fugitive.lua @@ -0,0 +1,5 @@ +return { + "tpope/vim-fugitive", + cmd = {"G", "Git"}, + lazy = true, +}