Added LazyGit
This commit is contained in:
parent
ea89c3f4b9
commit
1f870585b7
1
init.lua
1
init.lua
|
@ -817,7 +817,6 @@ require('lazy').setup {
|
|||
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
||||
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
|
||||
{ import = 'custom.plugins' },
|
||||
vim.keymap.set('n', '<C-b>', ':Neotree toggle last<CR>', { noremap = true, silent = true, desc = 'Toggle neotree' }),
|
||||
}
|
||||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
|
|
|
@ -12,4 +12,5 @@ return {
|
|||
config = function()
|
||||
require('neo-tree').setup {}
|
||||
end,
|
||||
vim.keymap.set('n', '<C-b>', ':Neotree toggle last<CR>', { noremap = true, silent = true, desc = 'Toggle neotree' }),
|
||||
}
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
{
|
||||
'kdheepak/lazygit.nvim',
|
||||
cmd = {
|
||||
'LazyGit',
|
||||
'LazyGitConfig',
|
||||
'LazyGitCurrentFile',
|
||||
'LazyGitFilter',
|
||||
'LazyGitFilterCurrentFile',
|
||||
},
|
||||
-- optional for floating window border decoration
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
},
|
||||
},
|
||||
vim.keymap.set('n', '<leader>lg', ':LazyGit<CR>', { desc = '[L]azy [G]it' }),
|
||||
}
|
|
@ -15,5 +15,6 @@ return {
|
|||
},
|
||||
}
|
||||
end,
|
||||
vim.keymap.set('n', 'ts', ':Neotest run suite=true<CR> :Neotest summary open<CR>', {}),
|
||||
vim.keymap.set('n', 'tt', ':Neotest summary toggle<CR>', { desc = '[T]oggle [T]est explorer' }),
|
||||
vim.keymap.set('n', 'ts', ':Neotest run suite=true<CR>', { desc = '[T]est [S]uite' }),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue