nvim: add keymaps for fugitive
This commit is contained in:
parent
3fb2fc53df
commit
4541a578b0
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user