How to use atool to work with archives

From Vifm Wiki
Revision as of 05:08, 22 January 2020 by Viminator (talk | contribs) (Add support for multiple archives at once.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Example configuration[edit]

" view contents of archive files on opening them
filetype *.7z,*.bz2,*.cab,*.cpio,*.deb,*.gz,
        \*.msi,*.pkg,*.rar,*.tar,*.tgz,*.xz,*.zip
        \ als %f | less
" silently extract selected archives in background
command extract aunpack -e %f &>/dev/null &
" map extraction command
nnoremap ex :extract<CR>

Source[edit]

Issue #386 on GitHub