updated bufferline

This commit is contained in:
Tawfeeq 2025-04-06 14:09:10 +02:00
parent 9f9d663f0b
commit ffdb9eb0e5
5 changed files with 129 additions and 72 deletions

View file

@ -0,0 +1,17 @@
return {
'nvim-telescope/telescope-file-browser.nvim',
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
vim.keymap.set("n", "<space>fb", ":Telescope file_browser<CR>"),
-- open file_browser with the path of the current buffer
vim.keymap.set("n", "<space>fb", ":Telescope file_browser path=%:p:h select_buffer=true<CR>"),
-- Alternatively, using lua API
vim.keymap.set("n", "<space>fb", function()
require("telescope").extensions.file_browser.file_browser()
end)
}