vifm: Add shortcut to extract selected file
Using `gx` the currently selected file(s?) will get extracted, automatically using the correct extraction program for the compression algorithm and creating a folder if necessary to avoid a file explosion in the current directory (all default features of the `atool` program which is a dependency)
This commit is contained in:
parent
5d265a33f7
commit
4774cd5b15
1 changed files with 3 additions and 0 deletions
|
@ -491,6 +491,9 @@ nnoremap <c-y> :cd %D<cr>
|
||||||
" again?
|
" again?
|
||||||
nnoremap zc zm
|
nnoremap zc zm
|
||||||
|
|
||||||
|
" extract currently selected file(s)
|
||||||
|
nnoremap gx :!atool -x %f<cr>
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Classify (Icons) {{{
|
" Classify (Icons) {{{
|
||||||
" file types
|
" file types
|
||||||
|
|
Loading…
Reference in a new issue