diff --git a/init.lua b/init.lua index fe3bdf43..9df906f6 100644 --- a/init.lua +++ b/init.lua @@ -676,6 +676,7 @@ require('lazy').setup({ -- into multiple repos for maintenance purposes. 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-path', + 'hrsh7th/cmp-buffer', }, config = function() -- See `:help cmp` @@ -752,6 +753,7 @@ require('lazy').setup({ { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'path' }, + { name = 'buffer' }, }, } end, diff --git a/lua/custom/options.lua b/lua/custom/options.lua index c16106de..0eead832 100644 --- a/lua/custom/options.lua +++ b/lua/custom/options.lua @@ -70,3 +70,5 @@ vim.opt.scrolloff = 10 -- Spell Checking vim.opt.spell = false + +vim.opt.indentkeys:remove ':' diff --git a/lua/custom/plugins/harpoon.lua b/lua/custom/plugins/harpoon.lua index 393a5a99..030f6a05 100644 --- a/lua/custom/plugins/harpoon.lua +++ b/lua/custom/plugins/harpoon.lua @@ -30,10 +30,10 @@ return { end) -- Toggle previous & next buffers stored within Harpoon list - vim.keymap.set('n', '', function() + vim.keymap.set('n', '', function() harpoon:list():prev() end) - vim.keymap.set('n', '', function() + vim.keymap.set('n', '', function() harpoon:list():next() end) end, diff --git a/lua/custom/plugins/oil.lua b/lua/custom/plugins/oil.lua new file mode 100644 index 00000000..7cee50d5 --- /dev/null +++ b/lua/custom/plugins/oil.lua @@ -0,0 +1,9 @@ +return { + 'stevearc/oil.nvim', + ---@module 'oil' + ---@type oil.SetupOpts + opts = {}, + -- Optional dependencies + dependencies = { { 'echasnovski/mini.icons', opts = {} } }, + -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if prefer nvim-web-devicons +}