284 current 2025-10-11 08:13:32 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 08:57:32 -05:00
parent 0f5b1d83b5
commit e6039316db
3 changed files with 42 additions and 23 deletions

View File

@@ -28,13 +28,14 @@ map ] half-down
# files & archives
map ad mkdir
map af mkfile
map ab mkbak
map ae extract
map aa archive
# trash
map gt cd ~/.local/share/Trash/files
map <delete> trash
map <s-delete> $trash-restore
map <s-delete> $trash restore
# --- functions ---
@@ -78,7 +79,7 @@ cmd archive %{{
}}
# move files to trash
cmd trash %IFS="$(printf '\n\t')"; trash-put $fx
cmd trash %IFS="$(printf '\n\t')"; trash put $fx
# make a directory
cmd mkdir %{{
@@ -100,4 +101,10 @@ cmd mkfile %{{
fi
}}
# make backup
cmd mkbak %{{
for x in $fx; do
cp $x $x.bak
done
}}