feat: Add toggleterm plugin for terminal management

This commit is contained in:
tsegaye27 2025-02-13 20:41:51 +03:00
parent ad86e8b6c9
commit bb4a2fa543
2 changed files with 25 additions and 12 deletions

View file

@ -30,7 +30,19 @@ require('lazy').setup {
}
end,
},
{
'akinsho/toggleterm.nvim',
version = '*',
config = function()
require('toggleterm').setup {
open_mapping = [[<c-\>]], -- Open/close terminal with Ctrl+\
direction = 'float', -- Open Lazygit in a floating window
float_opts = {
border = 'curved', -- Add a border to the floating window
},
}
end,
},
{ -- Which-key: Shows available keybindings
'folke/which-key.nvim',
event = 'VimEnter',