Oil + harpoon
This commit is contained in:
parent
30f933032c
commit
76429ff79e
2
init.lua
2
init.lua
|
@ -676,6 +676,7 @@ require('lazy').setup({
|
||||||
-- into multiple repos for maintenance purposes.
|
-- into multiple repos for maintenance purposes.
|
||||||
'hrsh7th/cmp-nvim-lsp',
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
'hrsh7th/cmp-path',
|
'hrsh7th/cmp-path',
|
||||||
|
'hrsh7th/cmp-buffer',
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- See `:help cmp`
|
-- See `:help cmp`
|
||||||
|
@ -752,6 +753,7 @@ require('lazy').setup({
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
|
{ name = 'buffer' },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -70,3 +70,5 @@ vim.opt.scrolloff = 10
|
||||||
|
|
||||||
-- Spell Checking
|
-- Spell Checking
|
||||||
vim.opt.spell = false
|
vim.opt.spell = false
|
||||||
|
|
||||||
|
vim.opt.indentkeys:remove ':'
|
||||||
|
|
|
@ -30,10 +30,10 @@ return {
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Toggle previous & next buffers stored within Harpoon list
|
-- 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()
|
harpoon:list():prev()
|
||||||
end)
|
end)
|
||||||
vim.keymap.set('n', '<C-S-N>', function()
|
vim.keymap.set('n', '<C-N>', function()
|
||||||
harpoon:list():next()
|
harpoon:list():next()
|
||||||
end)
|
end)
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue