@@ -47,8 +47,9 @@ CONTENTS *nvim-tree*
4747 7.1 Mappings: Default | nvim-tree-mappings-default |
4848 8. Highlight | nvim-tree-highlight |
4949 9. Events | nvim-tree-events |
50- 10. OS Specific Restrictions | nvim-tree-os-specific |
51- 11. Netrw | nvim-tree-netrw |
50+ 10. Prompts | nvim-tree-prompts |
51+ 11. OS Specific Restrictions | nvim-tree-os-specific |
52+ 12. Netrw | nvim-tree-netrw |
5253
5354==============================================================================
5455 1. INTRODUCTION *nvim-tree-introduction*
@@ -2442,7 +2443,32 @@ Example subscription: >
24422443 })
24432444<
24442445==============================================================================
2445- 10. OS SPECIFIC RESTRICTIONS *nvim-tree-os-specific*
2446+ 10. PROMPTS *nvim-tree-prompts*
2447+
2448+ Some NvimTree actions use the builtin | vim.ui.select | prompt API for
2449+ confirmations when the | nvim_tree.select_prompts | option is set.
2450+
2451+ The API accepts the optional `kind` key as part of the {opts} parameter, which
2452+ can can be used to identify the type of prompt, to allow user side
2453+ configurations for different types of prompts.
2454+
2455+ - `nvimtree_overwrite_rename`
2456+ overwrite or rename during | nvim-tree-api.fs.paste() |
2457+
2458+ - `nvimtree_remove`
2459+ delete during | nvim-tree-api.fs.remove() |
2460+
2461+ - `nvimtree_trash`
2462+ send to trash during | nvim-tree-api.fs.trash() |
2463+
2464+ - `nvimtree_bulk_delete`
2465+ delete all bookmarked during | nvim-tree-api.marks.bulk.delete() |
2466+
2467+ - `nvimtree_bulk_trash`
2468+ send all bookmarked to trash during | nvim-tree-api.marks.bulk.trash() |
2469+
2470+ ==============================================================================
2471+ 11. OS SPECIFIC RESTRICTIONS *nvim-tree-os-specific*
24462472
24472473macOS
24482474- Rename to different case is not possible when using a case insensitive file
@@ -2455,7 +2481,7 @@ Windows WSL and PowerShell
24552481- Some filesystem watcher error related to permissions will not be reported
24562482
24572483==============================================================================
2458- 11 . NETRW *nvim-tree-netrw*
2484+ 12 . NETRW *nvim-tree-netrw*
24592485
24602486| netrw | is a standard neovim plugin that is enabled by default. It provides,
24612487amongst other functionality, a file/directory browser.
0 commit comments