require("oil").setup({ default_file_explorer = true, delete_to_trash = true, skip_confirm_for_simple_edits = true, use_default_keymaps = false, keymaps = { ["q"] = "actions.close", ["g?"] = "actions.show_help", [""] = "actions.select", [""] = "actions.select_split", [""] = "actions.select_vsplit", -- this is used to navigate left [""] = "actions.select_tab", [""] = "actions.preview", [""] = "actions.close", [""] = "actions.refresh", ["-"] = "actions.parent", ["_"] = "actions.open_cwd", ["`"] = "actions.cd", ["~"] = "actions.tcd", ["gs"] = "actions.change_sort", ["gx"] = "actions.open_external", ["h"] = "actions.toggle_hidden", }, view_options = { natural_order = true, show_hidden = false, }, win_options = { wrap = true, }, })