From 9deacabbefca545374a8e1cacbfe1a13c3746eed Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 20 Jul 2024 16:45:55 +0200 Subject: [PATCH] vifm: Add batch file modification shortcut Use `,r` to enter an $EDITOR instance in which you can rename/delete/modify the files in the current directory. (using vidir program under the hood) --- terminal/.config/vifm/vifmrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminal/.config/vifm/vifmrc b/terminal/.config/vifm/vifmrc index 30973e9..fcec9ae 100644 --- a/terminal/.config/vifm/vifmrc +++ b/terminal/.config/vifm/vifmrc @@ -322,6 +322,9 @@ noremap ,pc :!pdftk %f cat output output.pdf nnoremap ,t :!vifm-thumbnailer -t %u %c nnoremap ,T :!vifm-thumbnailer -r -t %u %c +" batch rename or delete files in current dir +nnoremap ,r :!vidir + " allows preview to work for normal view and single pane view noremap w : if layoutis('only') \| if &lines + 50 < &columns | vsplit | else | split | endif