vifm: Move external file operations to localleader prefix
This commit is contained in:
parent
3795b20a59
commit
384ff59a3f
1 changed files with 8 additions and 8 deletions
|
@ -276,15 +276,15 @@ nnoremap zc zm
|
||||||
|
|
||||||
" external commands
|
" external commands
|
||||||
" extract currently selected file(s)
|
" extract currently selected file(s)
|
||||||
noremap xx :!atool -x %f<cr>
|
noremap ,xx :!atool -x %f<cr>
|
||||||
" compress currently selected file(s)
|
" compress currently selected file(s)
|
||||||
noremap xc :!atool -a %c:r.tar.gz %f<cr>
|
noremap ,xc :!atool -a %c:r.tar.gz %f<cr>
|
||||||
" archive currently selected file(s)
|
" archive currently selected file(s)
|
||||||
noremap xa :!atool -a %c:r.tar %f<cr>
|
noremap ,xa :!atool -a %c:r.tar %f<cr>
|
||||||
" archive currently selected file(s)
|
" zip currently selected file(s)
|
||||||
noremap 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)
|
" 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
|
" fzf movements
|
||||||
nnoremap <space>f :fzf<cr>
|
nnoremap <space>f :fzf<cr>
|
||||||
|
@ -294,8 +294,8 @@ nnoremap <space>F :grep<space>
|
||||||
" preview thumbnails of current folder
|
" preview thumbnails of current folder
|
||||||
" select thumbnails with m/M in nsxiv
|
" select thumbnails with m/M in nsxiv
|
||||||
" to generate a filtered view on them
|
" to generate a filtered view on them
|
||||||
nnoremap <space>t :!vifm-thumbnailer -t %u %c<cr>
|
nnoremap ,t :!vifm-thumbnailer -t %u %c<cr>
|
||||||
nnoremap <space>T :!vifm-thumbnailer -r -t %u %c<cr>
|
nnoremap ,T :!vifm-thumbnailer -r -t %u %c<cr>
|
||||||
|
|
||||||
" allows preview to work for normal view and single pane view
|
" allows preview to work for normal view and single pane view
|
||||||
noremap <silent> w : if &quickview && !layoutis('only')
|
noremap <silent> w : if &quickview && !layoutis('only')
|
||||||
|
|
Loading…
Reference in a new issue