update vifm

This commit is contained in:
Horhik 2021-02-26 03:12:04 +03:00
parent 3d612fe55f
commit caf61f626d
3 changed files with 6426 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
{"gtabs":[{"panes":[{"ptabs":[{"history":[{"dir":"/home/horhik/code/olymp","file":"mosh","relpos":3,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh","file":"1613639442920-problems","relpos":1,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh/1613639442920-problems","file":"..","relpos":0,"ts":1613970304},{"dir":"/home/horhik/code/olymp/mosh","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code/olymp","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code","file":"JOB","relpos":1,"ts":1613999829},{"dir":"/home/horhik/code/JOB","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik/code","file":"..","relpos":0,"ts":1613999829},{"dir":"/home/horhik","file":"Pictures","relpos":16,"ts":1613999829},{"dir":"/home/horhik/Pictures","file":"photo_2019-10-07_14-14-53.jpg","relpos":4,"ts":1613999829}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/horhik/Pictures","sorting":[2],"preview":false}]},{"ptabs":[{"history":[{"dir":"/home/horhik/code/olymp","file":"..","relpos":0,"ts":1613970304}],"filters":{"invert":true,"dot":true,"manual":"","auto":""},"last-location":"/home/horhik/code/olymp","sorting":[2],"preview":false}]}],"active-pane":0,"preview":false,"splitter":{"pos":-1,"ratio":0.5,"orientation":"v","expanded":false}}],"marks":{"b":{"dir":"/home/horhik/bin/","file":"..","ts":1613970286},"h":{"dir":"/home/horhik/","file":"..","ts":1613970286}},"bmarks":{},"cmd-hist":[{"text":"e ~/Pictures/","ts":1613999829},{"text":"tabnext","ts":1613999829},{"text":"q","ts":1613999829}],"search-hist":[{"text":"Pict","ts":1613999829}],"prompt-hist":[{"text":"1613639442920-problems","ts":1613999829}],"regs":{},"dir-stack":[],"use-term-multiplexer":false}

View File

@ -1,4 +1,5 @@
" vim: filetype=vifm :
" map > :!vifmimg inc<CR>
map < :!vifmimg dec<CR> vim: filetype=vifm :
" Sample configuration file for vifm (last updated: 2 June, 2019)
" You can edit this file by hand.
" The " character at the beginning of a line comments out the line.
@ -212,6 +213,7 @@ fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.as[fx]
\ ffprobe -pretty %c 2>&1
" Web
filextype *.html,*.htm
\ {Open with dwb}
@ -481,3 +483,47 @@ nnoremap <f8> :delete<cr>
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
"
" let $VIFM_SERVER_NAME = v:servername
fileviewer *.pdf
\ vifmimg pdfpreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.epub
\ vifmimg epubpreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\ vifmimg videopreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.xpm
\ vifmimg draw %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.gif
\ vifmimg gifpreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer *.ico
\ vifmimg magickpreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer <audio/*>
\ vifmimg audiopreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
fileviewer <font/*>
\ vifmimg fontpreview %px %py %pw %ph %c
\ %pc
\ vifmimg clear
map > :!vifmimg inc<CR>
map < :!vifmimg dec<CR>