diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index 5691cf5..97a542e 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -122,11 +122,11 @@ use({ "tpope/vim-fugitive", config = function() local opts = { silent = true, noremap = true } - vim.api.nvim_set_keymap("n", "gb", "Gblame", opts) - vim.api.nvim_set_keymap("n", "gc", "Gcommit", opts) - vim.api.nvim_set_keymap("n", "gd", "Gdiff", opts) + vim.api.nvim_set_keymap("n", "gb", "Git blame", opts) + vim.api.nvim_set_keymap("n", "gc", "Git commit", opts) + vim.api.nvim_set_keymap("n", "gd", "Git diff", opts) vim.api.nvim_set_keymap("n", "gs", "Git", opts) - vim.api.nvim_set_keymap("n", "gw", "Gwrite", opts) + vim.api.nvim_set_keymap("n", "gw", "Git write", opts) end, }) diff --git a/vim/rc/plugins/fugitive.rc.vim b/vim/rc/plugins/fugitive.rc.vim index 2ee2b78..9c172a7 100644 --- a/vim/rc/plugins/fugitive.rc.vim +++ b/vim/rc/plugins/fugitive.rc.vim @@ -1,7 +1,7 @@ -Plug 'tpope/vim-fugitive' ", { 'on': ['Gblame', 'Gdiff', 'Gcommit', 'Gstatus', 'Gwrite'] } +Plug 'tpope/vim-fugitive' ", { 'on': ['Git'] } " Mappings -nnoremap gb :Gblame -nnoremap gc :Gcommit -nnoremap gd :Gdiff -nnoremap gs :Gstatus -nnoremap gw :Gwrite +nnoremap gb :Git blame +nnoremap gc :Git commit +nnoremap gd :Git diff +nnoremap gs :Git status +nnoremap gw :Git write