add lazygit intergration
This commit is contained in:
@@ -26,5 +26,17 @@ require("lazy").setup({
|
||||
"neovim/nvim-lspconfig",
|
||||
|
||||
-- file explorer on the side
|
||||
"nvim-tree/nvim-tree.lua"
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
|
||||
-- lazygit integration
|
||||
|
||||
{
|
||||
"kdheepak/lazygit.nvim",
|
||||
lazy = false,
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
@@ -32,6 +32,9 @@ map('n', '<leader>x', ':tabclose<CR>', opts)
|
||||
map('n', '<leader>n', ':$tabnew<CR>', opts)
|
||||
map('n', '<leader>s', ':$tab split<CR>', opts)
|
||||
|
||||
-- lazygit
|
||||
map('n', '<leader>gg', '<cmd>LazyGit<CR>', opts)
|
||||
|
||||
-----------------
|
||||
-- Visual mode --
|
||||
-----------------
|
||||
|
||||
Reference in New Issue
Block a user