diff options
| author | awy <awy@awy.one> | 2025-11-29 20:01:27 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-29 20:01:27 +0300 |
| commit | da59c9ca2c742e56c02a2638076076b7fc1336f1 (patch) | |
| tree | b63065aff3d6bc3308cca2338dbd8890f35c24e9 /.config/nvim/lua/plugins/explorer.lua | |
| parent | dfb1d2b8433e5d83a25df0625966e36900d0667f (diff) | |
| download | hyprdots-da59c9ca2c742e56c02a2638076076b7fc1336f1.tar.gz | |
move to oil and mini.icons
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>", {}) + } +} |