You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can configure the `telescope-file-browser` like any other `telescope.nvim` picker. Please see `:h telescope-file-browser.picker` for the full set of options dedicated to the picker. For instance, you of course can map `theme` and [mappings](#remappings) as you are used to from `telescope.nvim`.
32
32
33
-
The setup below shows the defaults. You do not need to set any of the `file_browser` configuration. `require("telescope").load_extension "file_browser"` suffices for the default setup.
34
-
35
33
```lua
34
+
-- You don't need to set any of these options.
35
+
-- IMPORTANT!: this is only a showcase of how you can set default options!
36
36
require("telescope").setup {
37
37
extensions= {
38
38
file_browser= {
39
-
theme="ivy",
40
-
mappings= {} -- See mappings section
41
-
files=true, -- Start in file_browser mode
42
-
hidden=false,
43
-
respect_gitignore=false, -- expensive with plenary, true if `fd` found
44
-
---@fieldfilesboolean: start in file (true) or folder (false) browser (default: true)
45
-
---@fieldadd_dirsboolean: whether the file browser shows folders (default: true)
46
-
---@fielddepthnumber: file tree depth to display, `false` for unlimited depth (default: 1)
47
-
---@fielddir_iconstring: change the icon for a directory (default: )
48
-
---@fieldhiddenboolean: determines whether to show hidden files or not (default: false)
49
-
---@fieldrespect_gitignoreboolean: induces slow-down w/ plenary finder (default: false, true if `fd` available)
50
-
---@fieldbrowse_filesfunction: custom override for the file browser (default: |fb_finders.browse_files|)
51
-
---@fieldbrowse_foldersfunction: custom override for the folder browser (default: |fb_finders.browse_folders|)
0 commit comments