return { 'stevearc/oil.nvim', opts = { delete_to_trash = true, default_file_explorer = true, skip_confirm_for_simple_edits = true, view_options = { -- Show files and directories that start with "." show_hidden = true, }, keymaps = { ['g?'] = 'actions.show_help', [''] = 'actions.select', [''] = 'actions.select_vsplit', [''] = 'actions.select_split', [''] = 'actions.select_tab', [''] = 'actions.preview', [''] = 'actions.close', [''] = 'actions.refresh', [''] = 'actions.parent', ['_'] = 'actions.open_cwd', ['`'] = 'actions.cd', ['~'] = 'actions.tcd', ['g.'] = 'actions.toggle_hidden', }, }, lazy = false, dependencies = { 'nvim-tree/nvim-web-devicons' }, keys = { { '-', function() require('oil').open() end, desc = 'Open oil', }, }, }