feat: initial commit
- basic config according to spec
This commit is contained in:
commit
9b0446c5f6
36 files changed
+1114
No files matched your search
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
{
|
||||
"stevearc/oil.nvim",
|
||||
cmd = "Oil",
|
||||
keys = { { "-", "<cmd>Oil<cr>", desc = "Open parent directory" } },
|
||||
init = function()
|
||||
-- Load at startup only when nvim was opened on a directory.
|
||||
local arg = vim.fn.argc() == 1 and vim.fn.argv(0)
|
||||
local stat = arg and vim.uv.fs_stat(arg)
|
||||
if stat and stat.type == "directory" then
|
||||
require("lazy").load({ plugins = { "oil.nvim" } })
|
||||
end
|
||||
end,
|
||||
opts = { default_file_explorer = true },
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user