summaryrefslogtreecommitdiff
path: root/ar/.config/LazyVim/lua/plugins/file-browser.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/LazyVim/lua/plugins/file-browser.lua
init
Diffstat (limited to 'ar/.config/LazyVim/lua/plugins/file-browser.lua')
-rw-r--r--ar/.config/LazyVim/lua/plugins/file-browser.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/ar/.config/LazyVim/lua/plugins/file-browser.lua b/ar/.config/LazyVim/lua/plugins/file-browser.lua
new file mode 100644
index 0000000..9a9ea2f
--- /dev/null
+++ b/ar/.config/LazyVim/lua/plugins/file-browser.lua
@@ -0,0 +1,15 @@
+return {
+ "nvim-telescope/telescope-file-browser.nvim",
+ dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
+ keys = {
+ {
+ mode = "n",
+ "<leader>sB",
+ ":Telescope file_browser path=%:p:h=%:p:h<cr>",
+ desc = "Browse Files",
+ },
+ },
+ config = function()
+ require("telescope").load_extension("file_browser")
+ end,
+}