added toggleterm

This commit is contained in:
ch1bs 2024-09-25 13:57:02 +03:00
parent c779245033
commit 67be49cbfe
3 changed files with 15 additions and 6 deletions

View File

@ -282,11 +282,10 @@ require('lazy').setup({
{ -- Useful plugin to show you pending keybinds. { -- Useful plugin to show you pending keybinds.
'folke/which-key.nvim', 'folke/which-key.nvim',
version = "2.1.0",
event = 'VimEnter', -- Sets the loading event to 'VimEnter' event = 'VimEnter', -- Sets the loading event to 'VimEnter'
config = function() -- This is the function that runs, AFTER loading config = function() -- This is the function that runs, AFTER loading
require('which-key').setup() require('which-key').setup() -- Document existing key chains
-- Document existing key chains
require('which-key').register { require('which-key').register {
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' }, ['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, ['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
@ -649,6 +648,7 @@ require('lazy').setup({
{ -- Autoformat { -- Autoformat
'stevearc/conform.nvim', 'stevearc/conform.nvim',
version = "7.1.0",
lazy = false, lazy = false,
keys = { keys = {
{ {
@ -934,3 +934,4 @@ require('lazy').setup({
-- The line beneath this is called `modeline`. See `:help modeline` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et
require('lspconfig').svelte.setup { filetypes = { "svelte", "html" } }

View File

@ -0,0 +1,7 @@
return {
'akinsho/toggleterm.nvim',
version = "*",
config=true,
keys = { {'<leader>t', ":ToggleTerm size=15<cr>"},}
}

View File

@ -0,0 +1 @@
return { "xiyaowong/transparent.nvim" }