mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 07:44:53 +00:00
add telescope file browser
This commit is contained in:
parent
f493b263e0
commit
df4ca6e4c4
@ -368,6 +368,15 @@ require("packer").startup(function(use)
|
||||
end,
|
||||
})
|
||||
|
||||
-- File browser
|
||||
use({
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
requires = { "nvim-telescope/telescope.nvim" },
|
||||
config = function()
|
||||
require("telescope").load_extension("file_browser")
|
||||
end,
|
||||
})
|
||||
|
||||
-- Clipboard history
|
||||
use({
|
||||
"AckslD/nvim-neoclip.lua",
|
||||
@ -550,7 +559,7 @@ find_downloads = function()
|
||||
prompt_title = "Find Downloads",
|
||||
cwd = "~/Downloads",
|
||||
}
|
||||
require("telescope.builtin").file_browser(opts)
|
||||
require("telescope").extensions.file_browser.file_browser(opts)
|
||||
end
|
||||
|
||||
choose_project = function()
|
||||
|
Loading…
Reference in New Issue
Block a user