From 3bcf58333f89bb1184551366e9c61d6f3ced5245 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 9 Mar 2026 13:59:19 +0100 Subject: [PATCH] feat: start Oil instead of mini pick when no filename --- lua/weeheavy/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/weeheavy/init.lua b/lua/weeheavy/init.lua index e1923ab..4ef9f75 100644 --- a/lua/weeheavy/init.lua +++ b/lua/weeheavy/init.lua @@ -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