feat: start Oil instead of mini pick when no filename

This commit is contained in:
Oliver Ladner 2026-03-09 13:59:19 +01:00
commit 3bcf58333f

View file

@ -13,9 +13,9 @@ require("weeheavy.prefs")
-- Auto commands
require("weeheavy.autocmd")
-- Run mini `Pick files` when Neovim was started without a file name
-- Run floating Oil window when Neovim was started without a file name
if vim.fn.argc() == 0 then
vim.defer_fn(function()
vim.cmd("Pick files")
vim.cmd("Oil --float")
end, 0)
end