Adds plugins and options
This commit is contained in:
parent
e003262117
commit
89f0ca285b
31
init.lua
31
init.lua
|
@ -267,13 +267,38 @@ require('lazy').setup({
|
|||
-- Configuration here, or leave empty to use defaults
|
||||
})
|
||||
end
|
||||
}
|
||||
},
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
event = "InsertEnter",
|
||||
opts = {} -- this is equalent to setup({}) function
|
||||
},
|
||||
{
|
||||
"chrisgrieser/nvim-spider",
|
||||
keys = {
|
||||
{ -- example for lazy-loading and keymap
|
||||
"<leader>e",
|
||||
"<cmd>lua require('spider').motion('e')<CR>",
|
||||
mode = { "n", "o", "x" },
|
||||
},
|
||||
{
|
||||
"<leader>w",
|
||||
"<cmd>lua require('spider').motion('w')<CR>",
|
||||
mode = { "n", "o", "x" },
|
||||
},
|
||||
{
|
||||
"<leader>b",
|
||||
"<cmd>lua require('spider').motion('b')<CR>",
|
||||
mode = { "n", "o", "x" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
-- 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.
|
||||
-- Uncomment any of the lines below to enable them.
|
||||
-- require 'kickstart.plugins.autoformat',
|
||||
require 'kickstart.plugins.autoformat',
|
||||
-- require 'kickstart.plugins.debug',
|
||||
|
||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||
|
@ -326,6 +351,8 @@ vim.o.completeopt = 'menuone,noselect'
|
|||
-- NOTE: You should make sure your terminal supports this
|
||||
vim.o.termguicolors = true
|
||||
|
||||
vim.o.scrolloff = 7
|
||||
|
||||
-- [[ Basic Keymaps ]]
|
||||
|
||||
-- Keymaps for better default experience
|
||||
|
|
Loading…
Reference in New Issue