This commit is contained in:
committer@tuxwarrior
2025-05-13 13:47:37 -05:00
parent 888a8d66b0
commit 2e267c85c4

View File

@@ -37,7 +37,7 @@ set cleaner ctpvclear
# map # map
# -------------------- # --------------------
map <delete> trash-confirm # use '<delete>' key for 'trash' map <delete> trash-confirm # use '<delete>' key for 'trash'
map <c-delete> trash map <c-delete> trash # control + delete - for no confirm - you have control
map <enter> shell # use enter for shell commands map <enter> shell # use enter for shell commands
map <esc> :unselect; clear # clear all selected map <esc> :unselect; clear # clear all selected
map ` !true # show the result of execution of previous commands map ` !true # show the result of execution of previous commands
@@ -65,7 +65,6 @@ map X !$f
# esac # esac
# }} # }}
cmd open ${{ cmd open ${{
case "$f" in case "$f" in
@@ -119,7 +118,7 @@ cmd recol %{{
cmd trash %tp.sh "$fx" cmd trash %tp.sh "$fx"
cmd trash-confirm ${{ cmd trash-confirm ${{
echo 'delete? [y/n]' echo 'delete "$fx"? [y/n]'
read ans read ans
[ $ans = 'y' ] && trash %tp.sh "$fx" || echo 'cancelled' [ $ans = 'y' ] && trash %tp.sh "$fx" || echo 'cancelled'
}} }}