Add fugitive (again)

This commit is contained in:
Evie Litherland-Smith 2023-03-17 17:34:11 +00:00
parent 2a5d59e5dc
commit 49ecb67edc
2 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,7 @@ vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>")
vim.keymap.set("n", "<leader>m", "<cmd>Mason<CR>") vim.keymap.set("n", "<leader>m", "<cmd>Mason<CR>")
vim.keymap.set("n", "<leader>s", "<cmd>Dashboard<CR>") vim.keymap.set("n", "<leader>s", "<cmd>Dashboard<CR>")
vim.keymap.set("n", "<leader>z", "<cmd>ZenMode<CR>") vim.keymap.set("n", "<leader>z", "<cmd>ZenMode<CR>")
vim.keymap.set("n", "<leader>g", "<cmd>Git<CR>")
vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>") vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>")
vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>") vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>")
vim.keymap.set({ "n", "t" }, "<A-k>", "<CMD>NavigatorUp<CR>") vim.keymap.set({ "n", "t" }, "<A-k>", "<CMD>NavigatorUp<CR>")

View file

@ -0,0 +1,5 @@
return {
"tpope/vim-fugitive",
cmd = {"G", "Git"},
lazy = true,
}