nvim: add keymaps for fugitive

This commit is contained in:
inkch 2024-01-15 10:13:16 +09:00
parent 3fb2fc53df
commit 4541a578b0

View File

@ -2,5 +2,8 @@ return {
'tpope/vim-fugitive',
config = function()
vim.keymap.set("n", "<leader>gg", vim.cmd.Git)
vim.keymap.set("n", "<leader>gl", "<cmd>Git log<CR>")
vim.keymap.set("n", "<leader>gf", "<cmd>Git fetch<CR>")
vim.keymap.set("n", "<leader>gp", "<cmd>Git push<CR>")
end
}