1
0
Fork 0

Initial work on massive refactor

This commit is contained in:
Luca Bilke 2024-01-24 00:48:37 +01:00
commit c01b7077ff
28 changed files with 717 additions and 530 deletions
.config/nvim/lua/plugins/misc

View file

@ -1,32 +1,20 @@
local M = { "akinsho/toggleterm.nvim" }
M.cmd = { "ToggleTerm", "TermExec" }
M.opts = {
size = 20,
open_mapping = [[<c-\>]],
hide_numbers = true,
shade_terminals = true,
shading_factor = 2,
start_in_insert = true,
insert_mappings = true,
persist_size = true,
direction = "float",
close_on_exit = true,
shell = vim.o.shell,
open_mapping = [[<F7>]],
float_opts = {
winblend = 0,
highlights = {
border = "Normal",
background = "Normal",
},
winblend = 5,
border = "rounded",
},
on_create = function()
vim.opt.foldcolumn = "0"
vim.opt.signcolumn = "no"
end,
}
--local Terminal = require("toggleterm.terminal").Terminal
--local lazygit = Terminal:new({ cmd = "lazygit", hidden = true })
--
--function _LAZYGIT_TOGGLE()
-- lazygit:toggle()
--end
return M