Add trash-restore and trash binds

Add trash-restore and trash binds
Trash restore will only look for trashed files that were in the working directory.
The $PWD on line 110 can be removed to skip this check.
This commit is contained in:
snailed 2022-10-21 19:11:11 +00:00 committed by GitHub
parent 87e76cdc35
commit 1d1d691f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,9 @@ map <c-f> $lf -remote "send $id select \"$(fzf)\""
map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)"
map gh
map g top
map D delete
map D trash
map <c-d> delete
map T $trash-restore $PWD
map E extract
map C copyto
map M moveto