How to use atool to work with archives

From Vifm Wiki
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 %f &>/dev/null &
" map extraction command
nnoremap ex :extract<CR>

Source[edit]

Issue #386 on GitHub