From fb1562f804d13841258d808c10052d7042bccaec Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Wed, 24 Apr 2024 11:19:27 +0700 Subject: [PATCH] chore: Disable lazy for oil.nvim I need it to overwrite netrw, I can't figure out how to do that with lazyload atm --- .config/nvim/lua/null/plugins/file-explorer.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/null/plugins/file-explorer.lua b/.config/nvim/lua/null/plugins/file-explorer.lua index 87d7ab0..a07aa0b 100644 --- a/.config/nvim/lua/null/plugins/file-explorer.lua +++ b/.config/nvim/lua/null/plugins/file-explorer.lua @@ -18,12 +18,11 @@ return { }, { "stevearc/oil.nvim", - keys = { - { "-", "Oil", desc = "Oil" }, - }, + lazy = false, dependencies = { "nvim-tree/nvim-web-devicons" }, config = function () require("oil").setup({ + default_file_explorer = true, keymaps = { ["q"] = "actions.close", },