Enable default plugins, add toggleterm, harpoon and lazygit
This commit is contained in:
27
lua/custom/plugins/toggleterm.lua
Normal file
27
lua/custom/plugins/toggleterm.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
{
|
||||
'akinsho/toggleterm.nvim',
|
||||
-- [[ cmd = { "toggleterm", "termexec" }, ]]
|
||||
opts = {
|
||||
highlights = {
|
||||
normal = { link = 'normal' },
|
||||
normalnc = { link = 'normalnc' },
|
||||
normalfloat = { link = 'normalfloat' },
|
||||
floatborder = { link = 'floatborder' },
|
||||
statusline = { link = 'statusline' },
|
||||
statuslinenc = { link = 'statuslinenc' },
|
||||
winbar = { link = 'winbar' },
|
||||
winbarnc = { link = 'winbarnc' },
|
||||
},
|
||||
size = 10,
|
||||
on_create = function()
|
||||
vim.opt.foldcolumn = '0'
|
||||
vim.opt.signcolumn = 'no'
|
||||
end,
|
||||
open_mapping = [[<f12>]],
|
||||
shading_factor = 2,
|
||||
direction = 'float',
|
||||
float_opts = { border = 'rounded' },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user