From 384ff59a3f13026a7a71fd8406bb7fe34ca40a6b Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 19 Mar 2023 14:55:26 +0100 Subject: [PATCH] vifm: Move external file operations to localleader prefix --- terminal/.config/vifm/vifmrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/terminal/.config/vifm/vifmrc b/terminal/.config/vifm/vifmrc index 1bd6f73..2009e03 100644 --- a/terminal/.config/vifm/vifmrc +++ b/terminal/.config/vifm/vifmrc @@ -276,15 +276,15 @@ nnoremap zc zm " external commands " extract currently selected file(s) -noremap xx :!atool -x %f +noremap ,xx :!atool -x %f " compress currently selected file(s) -noremap xc :!atool -a %c:r.tar.gz %f +noremap ,xc :!atool -a %c:r.tar.gz %f " archive currently selected file(s) -noremap xa :!atool -a %c:r.tar %f -" archive currently selected file(s) -noremap xz :!atool -a %c:r.zip %f +noremap ,xa :!atool -a %c:r.tar %f +" zip currently selected file(s) +noremap ,xz :!atool -a %c:r.zip %f " combine selected PDFs into single one (named output.pdf) -noremap gc :!pdftk %f cat output output.pdf +noremap ,pc :!pdftk %f cat output output.pdf " fzf movements nnoremap f :fzf @@ -294,8 +294,8 @@ nnoremap F :grep " preview thumbnails of current folder " select thumbnails with m/M in nsxiv " to generate a filtered view on them -nnoremap t :!vifm-thumbnailer -t %u %c -nnoremap T :!vifm-thumbnailer -r -t %u %c +nnoremap ,t :!vifm-thumbnailer -t %u %c +nnoremap ,T :!vifm-thumbnailer -r -t %u %c " allows preview to work for normal view and single pane view noremap w : if &quickview && !layoutis('only')