initial commit
This commit is contained in:
13
homemanager/neovim/lua/plugins/spec/fugitive.lua
Normal file
13
homemanager/neovim/lua/plugins/spec/fugitive.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
'tpope/vim-fugitive',
|
||||
keys = {
|
||||
{ '<leader>gg', ':Git<cr>', 'Git Status' },
|
||||
{ '<leader>gc', function()
|
||||
if vim.bo.filetype == 'fugitive' then
|
||||
vim.cmd.close()
|
||||
end
|
||||
vim.cmd("Git commit")
|
||||
end, '(g)it (c)ommit' }
|
||||
},
|
||||
cmd = 'Git'
|
||||
}
|
||||
Reference in New Issue
Block a user