1
0
Fork 0
This commit is contained in:
Vladimír Dudr 2022-09-08 12:05:57 +02:00
parent f998ddec55
commit 22a57f5aaa

View file

@ -198,27 +198,25 @@ filextype {*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx, \*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx]}, \*.as[fx]},
\<video/*> \<video/*>
\ {View using mpv}
\ mpv %f,
\ {View using ffplay} \ {View using ffplay}
\ ffplay -fs -autoexit %f, \ ffplay -fs -autoexit %f,
\ {View using Dragon}
\ dragon %f:p,
\ {View using mplayer}
\ mplayer %f,
fileviewer {*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob, fileviewer {*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx, \*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx]}, \*.as[fx]},
\<video/*> \<video/*,audio/*>
\ ffprobe -pretty %c 2>&1 \ ffprobe -hide_banner -pretty %c 2>&1
fileviewer {*.crt,*.pem},<application/x-x509*,application/pem-certificate-chain> openssl x509 -in %f -noout -text
" Web " Web
filextype {*.html,*.htm},<text/html> filextype {*.html,*.htm},<text/html>
\ {Open with dwb} \ {Open with dwb}
\ dwb %f %i &, \ qutebrowser %f &,
\ {Open with firefox} \ {Open with firefox}
\ firefox %f &, \ firefox %f &,
\ {Open with uzbl} filetype {*.html,*.htm},<text/html> w3m
\ uzbl-browser %f %i &,
filetype {*.html,*.htm},<text/html> links, lynx
" Object " Object
filetype {*.o},<application/x-object> nm %f | less filetype {*.o},<application/x-object> nm %f | less
@ -229,12 +227,10 @@ fileviewer {*.[1-8]},<text/troff> man ./%c | col -b
" Images " Images
filextype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*> filextype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ {View in sxiv} \ {View in imv}
\ sxiv %f, \ imv %f,
\ {View in gpicview} \ {View in feh}
\ gpicview %c, \ feh %f,
\ {View in shotwell}
\ shotwell,
fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*> fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm},<image/*>
\ identify %f \ identify %f
@ -349,6 +345,7 @@ filextype */
\ {View in thunar} \ {View in thunar}
\ Thunar %f &, \ Thunar %f &,
" Syntax highlighting in preview " Syntax highlighting in preview
" "
" Explicitly set highlight type for some extensions " Explicitly set highlight type for some extensions
@ -362,7 +359,7 @@ filextype */
" "
" Or leave it for automatic detection " Or leave it for automatic detection
" "
" fileviewer *[^/] pygmentize -O style=monokai -f console256 -g fileviewer *[^/] pygmentize -O style=gruvbox-dark -f console256 -g
" Displaying pictures in terminal " Displaying pictures in terminal
" "
@ -447,12 +444,10 @@ nnoremap cc cw<c-u>
nnoremap A cw nnoremap A cw
" Open console in current directory " Open console in current directory
nnoremap ,t :!xterm &<cr> nnoremap ,t :!kitty &<cr>
" Open editor to edit vifmrc and apply settings after returning to vifm " Open editor to edit vifmrc and apply settings after returning to vifm
nnoremap ,c :write | edit $MYVIFMRC | restart full<cr> nnoremap ,c :write | edit $MYVIFMRC | restart full<cr>
" Open gvim to edit vifmrc
nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC &<cr>
" Toggle wrap setting on ,w key " Toggle wrap setting on ,w key
nnoremap ,w :set wrap!<cr> nnoremap ,w :set wrap!<cr>