dotfiles/dot_config/nvim/lua/plugins/fugitive.lua

10 lines
313 B
Lua
Raw Permalink Normal View History

2024-01-14 23:03:03 +09:00
return {
'tpope/vim-fugitive',
config = function()
vim.keymap.set("n", "<leader>gg", vim.cmd.Git)
2024-01-15 10:13:16 +09:00
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>")
2024-01-14 23:03:03 +09:00
end
}