initial commit
This commit is contained in:
16
lua/plugins/oil.lua
Normal file
16
lua/plugins/oil.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
'stevearc/oil.nvim',
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('oil').setup({
|
||||
view_options = {
|
||||
show_hidden = true,
|
||||
sort = {
|
||||
{ "type", "asc" },
|
||||
{ "name", "asc" },
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" })
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user