added toggleterm
This commit is contained in:
parent
c779245033
commit
67be49cbfe
13
init.lua
13
init.lua
|
@ -280,13 +280,12 @@ require('lazy').setup({
|
||||||
-- after the plugin has been loaded:
|
-- after the plugin has been loaded:
|
||||||
-- config = function() ... end
|
-- config = function() ... end
|
||||||
|
|
||||||
{ -- Useful plugin to show you pending keybinds.
|
{ -- Useful plugin to show you pending keybinds.
|
||||||
'folke/which-key.nvim',
|
'folke/which-key.nvim',
|
||||||
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
|
version = "2.1.0",
|
||||||
config = function() -- This is the function that runs, AFTER loading
|
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
|
||||||
require('which-key').setup()
|
config = function() -- This is the function that runs, AFTER loading
|
||||||
|
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" } }
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
'akinsho/toggleterm.nvim',
|
||||||
|
version = "*",
|
||||||
|
config=true,
|
||||||
|
keys = { {'<leader>t', ":ToggleTerm size=15<cr>"},}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
return { "xiyaowong/transparent.nvim" }
|
Loading…
Reference in New Issue