add LazyGit terminal, create terminal.lua

This commit is contained in:
Luke Johnson 2023-02-28 14:16:15 -07:00
parent dcf6329c0a
commit 6f14c7cfc4
2 changed files with 67 additions and 21 deletions

View file

@ -77,25 +77,4 @@ return {
{ "<leader>ul", "<Cmd>UrlView<CR>", desc = "View buffer URLs" },
},
},
-- Toggleterm: multiple terminals
{ 'akinsho/toggleterm.nvim',
version = "*",
config = function()
require("toggleterm").setup {
insert_mappings = true, -- whether or not the open mapping applies in insert mode
size = 10,
open_mapping = [[<F7>]],
shading_factor = 2,
direction = "float",
float_opts = {
border = "curved",
highlights = {
border = "Normal",
background = "Normal",
},
},
}
end,
},
}