bulk-rename with vidir added to lf

This commit is contained in:
Luke Smith 2019-12-08 19:20:49 -05:00
parent 7452fd681c
commit 37acc4bf26
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -49,6 +49,10 @@ cmd copyto ${{
notify-send "📋 File(s) copied." "File(s) copies to $dest." notify-send "📋 File(s) copied." "File(s) copies to $dest."
}} }}
cmd bulkrename ${{
vidir
}}
# Bindings # Bindings
map c $lf -remote "send $id cd $(cut -d' ' -f2 ~/.config/directories | fzf)" map c $lf -remote "send $id cd $(cut -d' ' -f2 ~/.config/directories | fzf)"
map <c-f> $lf -remote "send $id select '$(fzf)'" map <c-f> $lf -remote "send $id select '$(fzf)'"
@ -61,6 +65,7 @@ map M moveto
map a push %mkdir<space> map a push %mkdir<space>
map r push :rename<space> map r push :rename<space>
map R $lf -remote "send $id push :rename<space>$f" map R $lf -remote "send $id push :rename<space>$f"
map b bulkrename
map <c-r> reload map <c-r> reload
map <enter> shell map <enter> shell
map x $$f map x $$f