telescope-file-browser.nvim icon indicating copy to clipboard operation
telescope-file-browser.nvim copied to clipboard

feat: folder_browser with more filetypes

Open fdschmidt93 opened this issue 3 years ago • 1 comments

This allows the following:

:lua require "telescope".extensions.file_browser.file_browser { types = {"file", "directory"}}

now makes the folder_browser show both files and directories (default: types = { "directory" }) and you can switch to the folder of a particular file.

I think the feature is actually ready to be merged, but I'm not so happy about the types opt. Either I come up with concise and clear names by {file, folder}_browser, respectively, or we will be needing some separation via tables or something. Sadge.

https://user-images.githubusercontent.com/39233597/149786928-82d8d0af-2704-4c9e-be60-60c24961097f.mp4

fdschmidt93 avatar Jan 17 '22 14:01 fdschmidt93

This seems like it would be a great solution for #176.

windowsrefund avatar Sep 05 '22 03:09 windowsrefund