Adds some additional actions that you can attach to pickers
Action | Picker | Description |
---|---|---|
delete_file | find_files | Deletes selected files in find_files picker |
via lazy.nvim
{
omaraboumrad/telescope-extra-actions.nvim',
dependencies = {
"nvim-telescope/telescope.nvim",
}
}
local extra_actions = require "telescope-extra-actions"
require('telescope').setup({
pickers = {
find_files = {
mappings = {
i = {
["<c-d>"] = extra_actions.delete_file,
}
}
}
}
})