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 -- "$@"
|
cmd mkdir %mkdir -- "$@"
|
||||||
|
|
||||||
# rename file
|
# rename file
|
||||||
cmd rename %mv "$f" $(echo "$@" | sed 's/ /\ /g')
|
cmd rename ${{
|
||||||
|
bulkrename $(for f in $fx; do basename $f; done)
|
||||||
|
}}
|
||||||
|
|
||||||
# Open editor
|
# Open editor
|
||||||
cmd edit ${{
|
cmd edit ${{
|
||||||
|
@ -164,7 +166,6 @@ map e! $doas $EDITOR "$f"
|
||||||
map b &setsid -f $BROWSER "$f"
|
map b &setsid -f $BROWSER "$f"
|
||||||
|
|
||||||
# Basic functions
|
# Basic functions
|
||||||
mao l cd "$f"
|
|
||||||
map c copy && echo "$fx" | wl-copy
|
map c copy && echo "$fx" | wl-copy
|
||||||
map d delete
|
map d delete
|
||||||
map x cut
|
map x cut
|
||||||
|
|
Loading…
Reference in New Issue