Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note on fix for rnvimr preventing Dirbuf from opening directory buffers #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,24 @@ higher.

### Notes

If you use [`nvim-tree.lua`](https://github.com/kyazdani42/nvim-tree.lua), you
must disable the `:help nvim-tree.update_to_buf_dir` option. Otherwise, Dirbuf
will fail to open directory buffers.
Other filesystem plugins can potentially prevent Dirbuf from opening directory buffers:

* If you use [`nvim-tree.lua`](https://github.com/kyazdani42/nvim-tree.lua),
disable the `:help nvim-tree.update_to_buf_dir` option.

```lua
require("nvim-tree").setup {
update_to_buf_dir = { enable = false }
}
```

* If you use [`rnvimr`](https://github.com/kevinhwang91/rnvimr),
disable the `:help rnvimr_enable_ex` option.

```lua
vim.g.rnvimr_ex_enable = 0
```

## Usage

Run the command `:Dirbuf` to open a directory buffer. Press `-` in any buffer
Expand Down