Skip to content

Commit 89f0ca2

Browse files
committed
Adds plugins and options
1 parent e003262 commit 89f0ca2

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

init.lua

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,38 @@ require('lazy').setup({
267267
-- Configuration here, or leave empty to use defaults
268268
})
269269
end
270-
}
270+
},
271+
{
272+
'windwp/nvim-autopairs',
273+
event = "InsertEnter",
274+
opts = {} -- this is equalent to setup({}) function
275+
},
276+
{
277+
"chrisgrieser/nvim-spider",
278+
keys = {
279+
{ -- example for lazy-loading and keymap
280+
"<leader>e",
281+
"<cmd>lua require('spider').motion('e')<CR>",
282+
mode = { "n", "o", "x" },
283+
},
284+
{
285+
"<leader>w",
286+
"<cmd>lua require('spider').motion('w')<CR>",
287+
mode = { "n", "o", "x" },
288+
},
289+
{
290+
"<leader>b",
291+
"<cmd>lua require('spider').motion('b')<CR>",
292+
mode = { "n", "o", "x" },
293+
},
294+
},
295+
},
271296

272297

273298
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
274299
-- These are some example plugins that I've included in the kickstart repository.
275300
-- Uncomment any of the lines below to enable them.
276-
-- require 'kickstart.plugins.autoformat',
301+
require 'kickstart.plugins.autoformat',
277302
-- require 'kickstart.plugins.debug',
278303

279304
-- 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'
326351
-- NOTE: You should make sure your terminal supports this
327352
vim.o.termguicolors = true
328353

354+
vim.o.scrolloff = 7
355+
329356
-- [[ Basic Keymaps ]]
330357

331358
-- Keymaps for better default experience

0 commit comments

Comments
 (0)