X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/dfda729156598121ba76e0cc77a520549d5b1af0..e0e3d9c441222774366e15934d59b2235eebba43:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index 1ec7312..a1fb2d1 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -92,8 +92,33 @@ return { end, keys = { { "ss", "Telescope luasnip", desc = "Snippets" } }, }, + { + "stevearc/oil.nvim", + opts = { + keymaps = { + ["g?"] = "actions.show_help", + [""] = "actions.select", + [""] = "actions.select_vsplit", + [""] = false, -- used to be actions.select_split + [""] = "actions.select_tab", + [""] = "actions.preview", + [""] = "actions.close", + [""] = false, -- used to be actions.refresh + ["-"] = "actions.parent", + ["_"] = "actions.open_cwd", + ["`"] = "actions.cd", + ["~"] = "actions.tcd", + ["gs"] = "actions.change_sort", + ["gx"] = "actions.open_external", + ["g."] = "actions.toggle_hidden", + ["g\\"] = "actions.toggle_trash", + }, + }, + dependencies = {"nvim-tree/nvim-web-devicons"}, + }, { "neo-tree.nvim", + enabled = false, lazy = false, opts = { filesystem = {