diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua index 39d0ca26..d689a3cf 100644 --- a/.config/nvim/lua/plugins/oil.lua +++ b/.config/nvim/lua/plugins/oil.lua @@ -1,6 +1,11 @@ return { "stevearc/oil.nvim", enabled = true, + -- lazy = false, + event = "VeryLazy", + keys = { + { "n", "-", "Oil", { desc = "Open Oil" } }, + }, opts = { default_file_explorer = false, delete_to_trash = true, @@ -13,12 +18,9 @@ return { -- "permissions", }, keymaps = { - -- [""] = "actions.parent", + [""] = "actions.parent", }, }, - keys = { - { "n", "-", "Oil", { desc = "Open Oil" } }, - }, -- Optional dependencies dependencies = { { "echasnovski/mini.icons", opts = {} } }, -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if prefer nvim-web-devicons diff --git a/.config/nvim/lua/plugins/trydactyl.lua b/.config/nvim/lua/plugins/trydactyl.lua index 987dfc08..05b6926e 100644 --- a/.config/nvim/lua/plugins/trydactyl.lua +++ b/.config/nvim/lua/plugins/trydactyl.lua @@ -1 +1 @@ -return { "tridactyl/vim-tridactyl" } +return { lazy = true, "tridactyl/vim-tridactyl" }