X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/12678e61610c212cc1c3f0b601f5d15dc5f23f64..2ef730d1d16c764586b02528fd4fb6677aad3e39:/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 = {