* Changed the default y/n prompt to default to N in most cases(all delete cases) and made it so that the copy paste same name conflict defaults to R(ename) * Removed all No conditions as they are not used and not needed * Made item_short into lowercase and also fixed prompts in dressing.nvim and telescope-select.nvim * Fixed the exception which occurs on pressing esc in the prompt and also made rename to be blank or r.*/R.*
This commit is contained in:
@@ -32,8 +32,8 @@ function M.bulk_delete()
|
||||
|
||||
if M.config.ui.confirm.remove then
|
||||
local prompt_select = "Remove bookmarked ?"
|
||||
local prompt_input = prompt_select .. " y/n: "
|
||||
lib.prompt(prompt_input, prompt_select, { "y", "n" }, { "Yes", "No" }, function(item_short)
|
||||
local prompt_input = prompt_select .. " y/N: "
|
||||
lib.prompt(prompt_input, prompt_select, { "", "y" }, { "No", "Yes" }, function(item_short)
|
||||
utils.clear_prompt()
|
||||
if item_short == "y" then
|
||||
do_delete(nodes)
|
||||
|
||||
Reference in New Issue
Block a user