From 37acc4bf2667d6ca0d69df66f9f03c631f4e2138 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 8 Dec 2019 19:20:49 -0500 Subject: [PATCH] bulk-rename with vidir added to lf --- .config/lf/lfrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 2a5786a..18a7e53 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -49,6 +49,10 @@ cmd copyto ${{ notify-send "📋 File(s) copied." "File(s) copies to $dest." }} +cmd bulkrename ${{ + vidir +}} + # Bindings map c $lf -remote "send $id cd $(cut -d' ' -f2 ~/.config/directories | fzf)" map $lf -remote "send $id select '$(fzf)'" @@ -61,6 +65,7 @@ map M moveto map a push %mkdir map r push :rename map R $lf -remote "send $id push :rename$f" +map b bulkrename map reload map shell map x $$f