From 4541a578b00e16747f7adaaa41de4da26d610a3c Mon Sep 17 00:00:00 2001 From: inkch Date: Mon, 15 Jan 2024 10:13:16 +0900 Subject: [PATCH] nvim: add keymaps for `fugitive` --- dot_config/nvim/lua/plugins/fugitive.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_config/nvim/lua/plugins/fugitive.lua b/dot_config/nvim/lua/plugins/fugitive.lua index 47b0477..dfad1c7 100644 --- a/dot_config/nvim/lua/plugins/fugitive.lua +++ b/dot_config/nvim/lua/plugins/fugitive.lua @@ -2,5 +2,8 @@ return { 'tpope/vim-fugitive', config = function() vim.keymap.set("n", "gg", vim.cmd.Git) + vim.keymap.set("n", "gl", "Git log") + vim.keymap.set("n", "gf", "Git fetch") + vim.keymap.set("n", "gp", "Git push") end }