remove toggleterm and references to it

This commit is contained in:
vladstojna 2023-07-18 19:56:35 +01:00 committed by vladstojna
parent aff3b8898c
commit d923f3a7ad
3 changed files with 0 additions and 23 deletions

View File

@ -5,7 +5,6 @@ require('lualine').setup {
section_separators = { left = ' ', right = ' ' },
},
extensions = {
'toggleterm',
'trouble',
'neo-tree',
'nvim-dap-ui',

View File

@ -1,6 +0,0 @@
local Terminal = require('toggleterm.terminal').Terminal
local lazygit = Terminal:new({ cmd = 'lazygit', hidden = true })
vim.keymap.set('n', '<leader>gg', function()
lazygit:toggle()
end, { noremap = true, silent = true, desc = 'Toggle lazygit' })

View File

@ -1,16 +0,0 @@
return {
{
'akinsho/toggleterm.nvim',
version = "*",
opts = {},
config = function()
require('toggleterm').setup {
open_mapping = [[<c-\>]],
persist_mode = true,
direction = 'float',
shell = 'zsh',
close_on_exit = true,
}
end,
},
}