Add plugins and config

This commit is contained in:
Saeed Afzal
2023-03-05 20:13:34 +00:00
parent 85cf458908
commit 81725f393f
10 changed files with 220 additions and 9 deletions

View File

@@ -1,5 +1,13 @@
require("toggleterm").setup {
open_mapping = [[<C-t>]],
size = function(term)
if term.direction == "horizontal" then
return 25
elseif term.direction == "vertical" then
return vim.o.columns * 0.4
end
end,
open_mapping = [[<c-t>]],
direction = "float",
float_opts = {
border = "curved"