vifm: Make compression mappings work in any mode

This commit is contained in:
Marty Oehme 2023-01-10 00:15:04 +01:00
parent dac7e7deee
commit ab14c37aa7
Signed by: Marty
GPG Key ID: 73BA40D5AFAF49C9
1 changed files with 4 additions and 4 deletions

View File

@ -274,13 +274,13 @@ nnoremap zc zm
" external commands
" extract currently selected file(s)
nnoremap xx :!atool -x %f<cr>
noremap xx :!atool -x %f<cr>
" compress currently selected file(s)
nnoremap xc :!atool -a %c:r.tar.gz %f<cr>
noremap xc :!atool -a %c:r.tar.gz %f<cr>
" archive currently selected file(s)
nnoremap xa :!atool -a %c:r.tar %f<cr>
noremap xa :!atool -a %c:r.tar %f<cr>
" archive currently selected file(s)
nnoremap xz :!atool -a %c:r.zip %f<cr>
noremap xz :!atool -a %c:r.zip %f<cr>
" combine selected PDFs into single one (named output.pdf)
noremap gc :!pdftk %f cat output output.pdf