return { "stevearc/oil.nvim", dependencies = { "nvim-tree/nvim-web-devicons" }, cmd = "Oil", keys = { { "-", "Oil", desc = "Open Oil" }, }, config = function() require("oil").setup { columns = { "icon", "permissions", "size", "mtime", }, keymaps = { [""] = { "actions.select", opts = { horizontal = true, split = "belowright", }, }, [""] = { -- Not using so that I can use Visual Block mode. "actions.select", opts = { vertical = true, split = "belowright", }, }, [""] = "actions.refresh", -- Remove default keymaps that I use for navigation. -- NOTE: the C must be capitalized (bug in Oil) [""] = false, -- use intead [""] = false, -- use instead [":"] = { "actions.open_cmdline", opts = { shorten_path = true, }, desc = "Open command line with current entry as an argument", }, ["q"] = "actions.close", }, view_options = { show_hidden = true, }, } end, }