diff --git a/README.md b/README.md index 7fc12890..2055f836 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,7 @@ You can toggle the help UI by pressing `g?`. 1. you can add a directory by adding a `/` at the end of the paths, entering multiple directories `BASE/foo/bar/baz` will add directory foo, then bar and add a file baz to it. 2. you can update window options for the tree by setting `require"nvim-tree.view".View.winopts.MY_OPTION = MY_OPTION_VALUE` +3. `toggle` has a second parameter which allows to toggle without focusing the explorer (`require"nvim-tree.toggle(false, false)`). ## Screenshots