Skip to content
Merged
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
4 changes: 2 additions & 2 deletions doc/nvim-tree-lua.txt
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ The `on_attach` function is passed the `bufnr` of nvim-tree. Use
vim.keymap.set("n", "<C-e>", api.node.open.replace_tree_buffer, opts("Open: In Place"))
---
-- OR use all default mappings
api.map.on_attach.default.on_attach_default(bufnr)
api.map.on_attach.default(bufnr)

-- remove a default
vim.keymap.del("n", "<C-]>", { buffer = bufnr })
Expand Down Expand Up @@ -470,7 +470,7 @@ Alternatively, you may apply these default mappings from your
return { desc = "nvim-tree: " .. desc, buffer = bufnr, noremap = true, silent = true, nowait = true }
end

api.map.on_attach.default.on_attach_default(bufnr)
api.map.on_attach.default(bufnr)

-- your removals and mappings go here
end
Expand Down
Loading