mirror of https://codeberg.org/anemofilia/zero
radio: files: lf: Use bulkrename when renaming files
parent
5296bfb859
commit
70bb582aca
|
@ -61,7 +61,9 @@ cmd config $$EDITOR "$ZERO/home-environments/radio/files/.config/lf/lfrc"
|
|||
cmd mkdir %mkdir -- "$@"
|
||||
|
||||
# rename file
|
||||
cmd rename %mv "$f" $(echo "$@" | sed 's/ /\ /g')
|
||||
cmd rename ${{
|
||||
bulkrename $(for f in $fx; do basename $f; done)
|
||||
}}
|
||||
|
||||
# Open editor
|
||||
cmd edit ${{
|
||||
|
@ -164,7 +166,6 @@ map e! $doas $EDITOR "$f"
|
|||
map b &setsid -f $BROWSER "$f"
|
||||
|
||||
# Basic functions
|
||||
mao l cd "$f"
|
||||
map c copy && echo "$fx" | wl-copy
|
||||
map d delete
|
||||
map x cut
|
||||
|
|
Loading…
Reference in New Issue