add LazyGit terminal, create terminal.lua
This commit is contained in:
parent
dcf6329c0a
commit
6f14c7cfc4
2 changed files with 67 additions and 21 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue