Oil + harpoon

This commit is contained in:
Alexander 2025-01-09 19:35:42 +01:00
parent 30f933032c
commit 76429ff79e
4 changed files with 15 additions and 2 deletions

View File

@ -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,

View File

@ -70,3 +70,5 @@ vim.opt.scrolloff = 10
-- Spell Checking
vim.opt.spell = false
vim.opt.indentkeys:remove ':'

View File

@ -30,10 +30,10 @@ return {
end)
-- Toggle previous & next buffers stored within Harpoon list
vim.keymap.set('n', '<C-S-P>', function()
vim.keymap.set('n', '<C-P>', function()
harpoon:list():prev()
end)
vim.keymap.set('n', '<C-S-N>', function()
vim.keymap.set('n', '<C-N>', function()
harpoon:list():next()
end)
end,

View File

@ -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
}