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, +}