fix(trash): wire up delete.trash config to intercept file deletions #42
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/canola-collection!42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/delete-trash-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
files.perform_actionto redirect deletes to trash whenconfig.delete.trashis truefiles.render_actionto show "TRASH" instead of "DELETE" in confirmationdelete_to_trash→delete = { trash = true }Requires barrettruth/canola.nvim#291 for the
delete.trashconfig field.cc @llakala — the config key changed from the old
delete_to_trashtodelete = { trash = true }, nesting it with the other delete options(
wipe,recursive).Test plan
delete = { trash = true }invim.g.canola~/.local/share/Trash/)Closes #40