diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua index 890b7e3..bb89057 100644 --- a/lua/plugins/oil.lua +++ b/lua/plugins/oil.lua @@ -4,20 +4,21 @@ -- vim.keymap.set('n', '-', 'Oil', { desc = 'Open parent directory' }) return { - -- 'stevearc/oil.nvim', - -- ---@module 'oil' - -- ---@type oil.SetupOpts - -- opts = { - -- view_options = { - -- show_hidden = true, - -- }, - -- keymaps = { - -- [''] = false, - -- }, - -- }, - -- -- Optional dependencies - -- dependencies = { { 'echasnovski/mini.icons', opts = {} } }, - -- -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons - -- -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. - -- lazy = false, + 'stevearc/oil.nvim', + ---@module 'oil' + ---@type oil.SetupOpts + opts = { + view_options = { + show_hidden = true, + }, + keymaps = { + [''] = false, + ['-'] = false, + }, + }, + -- Optional dependencies + dependencies = { { 'echasnovski/mini.icons', opts = {} } }, + -- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons + -- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations. + lazy = false, } diff --git a/lua/plugins/yazi.lua b/lua/plugins/yazi.lua index 425ce5c..08bed19 100644 --- a/lua/plugins/yazi.lua +++ b/lua/plugins/yazi.lua @@ -24,16 +24,9 @@ return { ---@type YaziConfig | {} opts = { -- if you want to open yazi instead of netrw, see below for more info - open_for_directories = true, + open_for_directories = false, keymaps = { show_help = '', }, }, - -- 👇 if you use `open_for_directories=true`, this is recommended - init = function() - -- mark netrw as loaded so it's not loaded at all. - -- - -- More details: https://github.com/mikavilpas/yazi.nvim/issues/802 - vim.g.loaded_netrwPlugin = 1 - end, }