add toggleterm plugin
This commit is contained in:
parent
9375eae25c
commit
dcf6329c0a
2 changed files with 42 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {
|
||||
-- Undotree
|
||||
{
|
||||
'mbbill/undotree',
|
||||
keys = {
|
||||
|
|
@ -10,6 +11,7 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
-- Auto pair {, [, (, etc.
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
|
|
@ -41,6 +43,7 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
-- Url viewer
|
||||
{
|
||||
"axieax/urlview.nvim",
|
||||
config = function()
|
||||
|
|
@ -74,4 +77,25 @@ 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