diff options
Diffstat (limited to '.config/nvim/lua/plugins/explorer.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/explorer.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/explorer.lua b/.config/nvim/lua/plugins/explorer.lua new file mode 100644 index 0000000..5dc1c26 --- /dev/null +++ b/.config/nvim/lua/plugins/explorer.lua @@ -0,0 +1,27 @@ +--[[ return { + "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-mini/mini.icons", + "MunifTanjim/nui.nvim", + }, + config = function() + vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal left<CR>", {}) + vim.keymap.set("n", "<leader>bf", ":Neotree buffers reveal float<CR>", {}) + require("mini.icons").mock_nvim_web_devicons() + end, +} ]] + +return { + { + 'stevearc/oil.nvim', + ---@module 'oil' + ---@type oil.SetupOpts + opts = {}, + dependencies = { { "nvim-mini/mini.icons", opts = {} } }, + lazy = false, + vim.keymap.set("n", "<leader>e", "<cmd>Oil<CR>", {}), + -- vim.keymap.set("n", "<leader>bf", "<cmd>Oil --float<CR>", {}) + } +} |