add dragon bind for lf
This commit is contained in:
parent
cb44e8604b
commit
161334c428
|
@ -210,6 +210,12 @@ cmd new_lf_term &{{
|
|||
$TERMINAL -e lfX -command "$mapcmd"
|
||||
}}
|
||||
|
||||
cmd confirm_delete %{{
|
||||
echo Delete? [y/N] && read -r v
|
||||
echo
|
||||
[ "$v" = y ] && rm -rf -- $fx
|
||||
}}
|
||||
|
||||
on-cd
|
||||
|
||||
# Basic vars
|
||||
|
@ -244,6 +250,7 @@ map '"' mark-remove
|
|||
map "$" shell
|
||||
map "!" shell-wait
|
||||
map "&" shell-async
|
||||
map "%" shell-pipe
|
||||
map ";" find-next
|
||||
map "," find-prev
|
||||
map "/" search
|
||||
|
@ -253,8 +260,9 @@ map b dupe
|
|||
map B bulkrename
|
||||
map <c-c> quit
|
||||
map c push r<c-u> # new rename
|
||||
map <c-d> &rm -rf -- $fx
|
||||
map <c-d> confirm_delete
|
||||
map d cut
|
||||
map D &dragon-drop -a -x $fx
|
||||
map <c-e> scroll-down
|
||||
map e :set user_multiedit "true" ; open; set user_multiedit "false"
|
||||
map E $sudo -e $f
|
||||
|
|
Loading…
Reference in New Issue