From fd2a37426608cd9323a216ac0b604f6cb88bffbe Mon Sep 17 00:00:00 2001 From: Uzair Aftab Date: Mon, 1 Apr 2024 11:08:29 +0200 Subject: [PATCH] feat(file-explorer): Add telescope-file-browser.nvim --- .../telescope-file-browser-nvim/README.md | 5 +++++ .../telescope-file-browser-nvim/init.lua | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 lua/astrocommunity/file-explorer/telescope-file-browser-nvim/README.md create mode 100644 lua/astrocommunity/file-explorer/telescope-file-browser-nvim/init.lua diff --git a/lua/astrocommunity/file-explorer/telescope-file-browser-nvim/README.md b/lua/astrocommunity/file-explorer/telescope-file-browser-nvim/README.md new file mode 100644 index 000000000..8fdfd991d --- /dev/null +++ b/lua/astrocommunity/file-explorer/telescope-file-browser-nvim/README.md @@ -0,0 +1,5 @@ +# telescope-file-browser.nvim + +File Browser extension for telescope.nvim + +**Repository:** diff --git a/lua/astrocommunity/file-explorer/telescope-file-browser-nvim/init.lua b/lua/astrocommunity/file-explorer/telescope-file-browser-nvim/init.lua new file mode 100644 index 000000000..ad0200673 --- /dev/null +++ b/lua/astrocommunity/file-explorer/telescope-file-browser-nvim/init.lua @@ -0,0 +1,18 @@ +return { + "nvim-telescope/telescope.nvim", + dependencies = { + "nvim-telescope/telescope-file-browser.nvim", + "nvim-lua/plenary.nvim", + { + "AstroNvim/astrocore", + opts = { + mappings = { + n = { + ["fe"] = { "Telescope file_browser", desc = "Open File browser" }, + }, + }, + }, + }, + }, + opts = function() require("telescope").load_extension "file_browser" end, +}