From 9bea1947fba2126e29d9581f527fa44d1b523486 Mon Sep 17 00:00:00 2001 From: kiyan Date: Tue, 22 Feb 2022 09:23:01 +0100 Subject: [PATCH] chore: fix documentation on vinegar --- doc/nvim-tree-lua.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index 426678a2..9446c1af 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -774,16 +774,19 @@ You can easily implement a toggle using this too: end < - Use the `edit_in_place` action to edit files. It's bound to `` by -default, vinegar uses `-`. You can override this with: +default, vinegar uses ``. You can override this with: > require"nvim-tree".setup { view = { mappings = { - { key = "-", action = "edit_in_place" } + { key = "", action = "edit_in_place" } } } } < +Going up a dir is bound to `-` by default in nvim-tree which is identical to +vinegar, no change is needed here. + You'll also need to set |nvim-tree.hijack_netrw| to `true` during setup. A good functionnality to enable is |nvim-tree.hijack_directories|.