feat(#2498): delete, trash prompts default N, added ui.confirm.default_yes option to override this behaviour (#2500)
Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -573,6 +573,7 @@ Following is the default configuration. See |nvim-tree-opts| for details.
|
||||
confirm = {
|
||||
remove = true,
|
||||
trash = true,
|
||||
default_yes = false,
|
||||
},
|
||||
},
|
||||
experimental = {},
|
||||
@@ -1459,6 +1460,10 @@ Confirmation prompts.
|
||||
Prompt before trashing.
|
||||
Type: `boolean`, Default: `true`
|
||||
|
||||
*nvim-tree.ui.confirm.default_yes*
|
||||
If `true` the prompt will be `"Y/n"`, otherwise `"y/N"`.
|
||||
Type: `boolean`, Default: `false`
|
||||
|
||||
==============================================================================
|
||||
5.19 OPTS: EXPERIMENTAL *nvim-tree-opts-experimental*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user