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.
|
||||
'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,
|
||||
|
|
|
@ -70,3 +70,5 @@ vim.opt.scrolloff = 10
|
|||
|
||||
-- Spell Checking
|
||||
vim.opt.spell = false
|
||||
|
||||
vim.opt.indentkeys:remove ':'
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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