doc: fix mappings setup for vinegar

This commit is contained in:
kiyan
2022-02-22 10:59:44 +01:00
parent 2898c4d58f
commit 61b57e3676

View File

@@ -779,10 +779,12 @@ default, vinegar uses `<CR>`. You can override this with:
require"nvim-tree".setup { require"nvim-tree".setup {
view = { view = {
mappings = { mappings = {
list = {
{ key = "<CR>", action = "edit_in_place" } { key = "<CR>", action = "edit_in_place" }
} }
} }
} }
}
< <
Going up a dir is bound to `-` by default in nvim-tree which is identical to Going up a dir is bound to `-` by default in nvim-tree which is identical to
vinegar, no change is needed here. vinegar, no change is needed here.