From c596cc767728e27ae5c4bbe75da5edb9ba15ff63 Mon Sep 17 00:00:00 2001 From: rapzy Date: Tue, 12 Mar 2024 09:04:24 +0545 Subject: [PATCH] idk --- init.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index b30e0c82..c97d5255 100644 --- a/init.lua +++ b/init.lua @@ -324,7 +324,10 @@ require('lazy').setup({ -- you do for a plugin at the top level, you can do for a dependency. -- -- Use the `dependencies` key to specify the dependencies of a particular plugin - + { + 'nvim-telescope/telescope-file-browser.nvim', + dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, + }, { -- Fuzzy Finder (files, lsp, etc) 'nvim-telescope/telescope.nvim', event = 'VimEnter', @@ -395,12 +398,12 @@ require('lazy').setup({ -- See `:help telescope.builtin` local builtin = require 'telescope.builtin' - + --[[ vim.keymap.set('n', 'hh', function() builtin.find_files { hidden = true, } - end, { desc = 'Find files inside hidden folders' }) + end, { desc = 'Find files inside hidden folders' }) ]] vim.keymap.set('n', 'en', function() local cwd = vim.fn.input 'Enter dir: ' @@ -422,6 +425,7 @@ require('lazy').setup({ vim.keymap.set('n', 'sr', builtin.resume, { desc = '[S]earch [R]esume' }) vim.keymap.set('n', 's.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' }) vim.keymap.set('n', '', builtin.buffers, { desc = '[ ] Find existing buffers' }) + vim.keymap.set('n', 'fb', ':Telescope file_browser', { noremap = true }) -- Slightly advanced example of overriding default behavior and theme vim.keymap.set('n', '/', function() @@ -881,7 +885,7 @@ require('lazy').setup({ -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, }, { ui = { -- If you have a Nerd Font, set icons to an empty table which will use the