Skip to content

Commit

Permalink
chore: prepare fork
Browse files Browse the repository at this point in the history
  • Loading branch information
fdschmidt93 committed Nov 19, 2023
1 parent f93b528 commit e861b8c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# Important Notice

This fork has been my personal daily driver for a year. Use at your own risk. I do not plan to fix non-critical bugs or add features I do not need.

This is a personal fork grown out of a highly requested tree view for [telescope-file-browser.nvim](https://github.com/nvim-telescope/telescope-file-browser.nvim). This branch will not get merged into the `master` branch of `telescope-file-browser.nvim`, since the backend, albeit with large overlap, is a different plugin. Sort of like `nvim` to `vim`.

You probably want this configuration (in extensions setup of `telescope.nvim`)

```lua
file_browser = {
grouped = true,
initial_browser = "tree",
-- searching activates a `telescope.find_files` like finder
-- you can use this to enter directories and remove ( move, copy) files to
-- selected dir (or selected dir of file) etc.
auto_depth = true,
depth = 1,
},
```

# Differences from `telescope-file-browser.nvim`

- Defaults to a `tree` view
- No distinction between `file` and `folder` browser. You can create your own browser (undocumented)

# telescope-file-browser.nvim

`telescope-file-browser.nvim` is a file browser extension for telescope.nvim. It supports synchronized creation, deletion, renaming, and moving of files and folders powered by [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) and [plenary.nvim](https://github.com/nvim-lua/plenary.nvim).
Expand Down
3 changes: 2 additions & 1 deletion lua/telescope/_extensions/file_browser/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ _TelescopeFileBrowserConfig = {
return string.format("depth=%s / %s / %s / %s", depth, ww, xx, yy)
end
end,
browser_opts = {},
initial_browser = "tree",
grouped = true,
mappings = {
["i"] = {
["<A-c>"] = fb_actions.create,
Expand Down

0 comments on commit e861b8c

Please sign in to comment.