vifm: Add batch file modification shortcut
Use `,r` to enter an $EDITOR instance in which you can rename/delete/modify the files in the current directory. (using vidir program under the hood)
This commit is contained in:
parent
9a7b8c824d
commit
9deacabbef
1 changed files with 3 additions and 0 deletions
|
@ -322,6 +322,9 @@ noremap ,pc :!pdftk %f cat output output.pdf
|
|||
nnoremap ,t :!vifm-thumbnailer -t %u %c<cr>
|
||||
nnoremap ,T :!vifm-thumbnailer -r -t %u %c<cr>
|
||||
|
||||
" batch rename or delete files in current dir
|
||||
nnoremap ,r :!vidir<cr>
|
||||
|
||||
" allows preview to work for normal view and single pane view
|
||||
noremap <silent> w : if layoutis('only')
|
||||
\| if &lines + 50 < &columns | vsplit | else | split | endif
|
||||
|
|
Loading…
Reference in a new issue