@@ -47,8 +47,9 @@ CONTENTS *nvim-tree*
47
47
7.1 Mappings: Default | nvim-tree-mappings-default |
48
48
8. Highlight | nvim-tree-highlight |
49
49
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 |
52
53
53
54
==============================================================================
54
55
1. INTRODUCTION *nvim-tree-introduction*
@@ -2442,7 +2443,32 @@ Example subscription: >
2442
2443
})
2443
2444
<
2444
2445
==============================================================================
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*
2446
2472
2447
2473
macOS
2448
2474
- Rename to different case is not possible when using a case insensitive file
@@ -2455,7 +2481,7 @@ Windows WSL and PowerShell
2455
2481
- Some filesystem watcher error related to permissions will not be reported
2456
2482
2457
2483
==============================================================================
2458
- 11 . NETRW *nvim-tree-netrw*
2484
+ 12 . NETRW *nvim-tree-netrw*
2459
2485
2460
2486
| netrw | is a standard neovim plugin that is enabled by default. It provides,
2461
2487
amongst other functionality, a file/directory browser.
0 commit comments