feature request: alias rm/unlink for Trash
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.9k
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
I used :Delete but I noticed the file disappeared entirely as opposed to moving to the trash/recycle bin.
On my system I have rm aliased as trash
Outside the plugin, vim seems to respect my alias, but vim-eunuch does not.
Having it respect my alias or allowing me to configure what eunuch uses internally would be a nice feature.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the implementation of the :Delete command and the other file-removal commands in vim-eunuch. Determine how the plugin invokes rm or unlink, then define a configurable or alias-aware behavior that moves files to the user's trash; done means deletion no longer bypasses the requested trash command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100