Add new plugins
This commit is contained in:
parent
3d80a82ebe
commit
162b44a00a
17
init.lua
17
init.lua
|
@ -257,6 +257,21 @@ require('lazy').setup({
|
|||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
'Wansmer/treesj',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter-context',
|
||||
},
|
||||
{
|
||||
'mg979/vim-visual-multi',
|
||||
},
|
||||
|
||||
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
|
||||
-- These are some example plugins that I've included in the kickstart repository.
|
||||
|
@ -667,6 +682,7 @@ function _G.set_terminal_keymaps()
|
|||
vim.api.nvim_buf_set_keymap(0, 't', '<C-k>', [[<C-\><C-n><C-W>k]], opts)
|
||||
vim.api.nvim_buf_set_keymap(0, 't', '<C-l>', [[<C-\><C-n><C-W>l]], opts)
|
||||
end
|
||||
|
||||
vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()')
|
||||
|
||||
local Terminal = require("toggleterm.terminal").Terminal
|
||||
|
@ -675,5 +691,6 @@ local python = Terminal:new({ cmd = "python3", hidden = true })
|
|||
function _PYTHON_TOGGLE()
|
||||
python:toggle()
|
||||
end
|
||||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
|
Loading…
Reference in New Issue