diff --git a/init.lua b/init.lua index 27452ba9..1babb280 100644 --- a/init.lua +++ b/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 + "e", + "lua require('spider').motion('e')", + mode = { "n", "o", "x" }, + }, + { + "w", + "lua require('spider').motion('w')", + mode = { "n", "o", "x" }, + }, + { + "b", + "lua require('spider').motion('b')", + 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