| File data/vifmrc changed (mode: 100644) (index ace805c7b..68695815c) |
| ... |
... |
command! reload :write | restart |
| 163 |
163 |
" program. |
" program. |
| 164 |
164 |
|
|
| 165 |
165 |
" Pdf |
" Pdf |
| 166 |
|
filetype *.pdf zathura %f,apvlv %f,xpdf %f |
|
| 167 |
|
fileview *.pdf pdftotext -nopgbrk %c - |
|
|
166 |
|
filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c |
|
167 |
|
fileviewer *.pdf pdftotext -nopgbrk %c - |
| 168 |
168 |
|
|
| 169 |
169 |
" PostScript |
" PostScript |
| 170 |
|
filextype *.ps,*.ps.gz gv %c %i & |
|
|
170 |
|
filextype *.ps,*.eps,*.ps.gz |
|
171 |
|
\ {View in zathura} |
|
172 |
|
\ zathura %f, |
|
173 |
|
\ {View in gv} |
|
174 |
|
\ gv %c %i &, |
| 171 |
175 |
|
|
| 172 |
176 |
" Djvu |
" Djvu |
| 173 |
|
filextype *.djvu apvlv %f |
|
|
177 |
|
filextype *.djvu |
|
178 |
|
\ {View in zathura} |
|
179 |
|
\ zathura %f, |
|
180 |
|
\ {View in apvlv} |
|
181 |
|
\ apvlv %f, |
| 174 |
182 |
|
|
| 175 |
183 |
" Audio |
" Audio |
| 176 |
|
filetype *.wav,*.mp3,*.flac,*.ogg,*.m4a |
|
|
184 |
|
filetype *.wav,*.mp3,*.flac,*.ogg,*.m4a,*.wma,*.ape,*.ac3 |
| 177 |
185 |
\ {Play using ffplay} |
\ {Play using ffplay} |
| 178 |
|
\ ffplay %c, |
|
|
186 |
|
\ ffplay -nodisp %c, |
| 179 |
187 |
\ {Play using MPlayer} |
\ {Play using MPlayer} |
| 180 |
188 |
\ mplayer %f, |
\ mplayer %f, |
|
189 |
|
\ ffplay %c, |
| 181 |
190 |
fileviewer *.mp3 mp3info |
fileviewer *.mp3 mp3info |
|
191 |
|
fileviewer *.flac soxi |
| 182 |
192 |
|
|
| 183 |
193 |
" Video |
" Video |
| 184 |
|
filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.vob,*.flv |
|
|
194 |
|
filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.vob,*.flv,*.m2v,*.mov,*.webm,*.ts,*.m4v |
| 185 |
195 |
\ {View using ffplay} |
\ {View using ffplay} |
| 186 |
196 |
\ ffplay -fs %c, |
\ ffplay -fs %c, |
| 187 |
197 |
\ {View using Dragon} |
\ {View using Dragon} |
| 188 |
198 |
\ dragon %f, |
\ dragon %f, |
| 189 |
199 |
\ {View using mplayer} |
\ {View using mplayer} |
| 190 |
200 |
\ mplayer %f, |
\ mplayer %f, |
| 191 |
|
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.vob |
|
|
201 |
|
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.vob,*.flv,*.m2v,*.mov,*.webm,*.ts,*.m4v |
| 192 |
202 |
\ ffprobe -pretty %c 2>&1 |
\ ffprobe -pretty %c 2>&1 |
| 193 |
203 |
|
|
| 194 |
204 |
" Web |
" Web |
| 195 |
|
filetype *.html,*.htm links,mozilla,uzbl-browser %f %i & |
|
|
205 |
|
filextype *.html,*.htm |
|
206 |
|
\ {Open with dwb} |
|
207 |
|
\ dwb %f %i &, |
|
208 |
|
\ {Open with firefox} |
|
209 |
|
\ firefox %f &, |
|
210 |
|
\ {Open with uzbl} |
|
211 |
|
\ uzbl-browser %f %i &, |
|
212 |
|
filetype *.html,*.htm links, lynx |
| 196 |
213 |
|
|
| 197 |
214 |
" Object |
" Object |
| 198 |
215 |
filetype *.o nm %f | less |
filetype *.o nm %f | less |
| 199 |
216 |
|
|
|
217 |
|
" Man page |
|
218 |
|
filetype *.[1-8] gtbl %c | groff -Tascii -man | less |
|
219 |
|
fileviewer *.[1-8] gtbl %c | groff -Tascii -man | col -b |
|
220 |
|
|
| 200 |
221 |
" Image |
" Image |
| 201 |
222 |
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm |
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm |
| 202 |
223 |
\ {View in sxiv} |
\ {View in sxiv} |
| |
| ... |
... |
filetype *.md5 |
| 210 |
231 |
\ {Check MD5 hash sum} |
\ {Check MD5 hash sum} |
| 211 |
232 |
\ md5sum -c %f, |
\ md5sum -c %f, |
| 212 |
233 |
|
|
|
234 |
|
" GPG signature |
|
235 |
|
filetype *.asc |
|
236 |
|
\ {Check signature} |
|
237 |
|
\ !!gpg --verify %c, |
|
238 |
|
|
|
239 |
|
" Torrent |
|
240 |
|
filetype *.torrent ktorrent %f & |
|
241 |
|
fileviewer *.torrent dumptorrent -v %c |
|
242 |
|
|
| 213 |
243 |
" FuseZipMount |
" FuseZipMount |
| 214 |
|
filetype *.zip,*.jar,*.war,*.ear |
|
|
244 |
|
filetype *.zip,*.jar,*.war,*.ear,*.oxt |
| 215 |
245 |
\ {Mount with fuse-zip} |
\ {Mount with fuse-zip} |
| 216 |
246 |
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR, |
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR, |
| 217 |
247 |
\ {View contents} |
\ {View contents} |
| 218 |
248 |
\ zip -sf %c | less, |
\ zip -sf %c | less, |
|
249 |
|
\ {Extract here} |
| 219 |
250 |
\ tar -xf %c, |
\ tar -xf %c, |
| 220 |
|
fileviewer *.zip,*.jar,*.war,*.ear zip -sf %c |
|
|
251 |
|
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt zip -sf %c |
| 221 |
252 |
|
|
| 222 |
253 |
" ArchiveMount |
" ArchiveMount |
| 223 |
|
filetype *.tar.bz2,*.tbz2,*.tgz,*.tar.gz |
|
|
254 |
|
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz |
| 224 |
255 |
\ {Mount with archivemount} |
\ {Mount with archivemount} |
| 225 |
256 |
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR, |
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR, |
| 226 |
257 |
fileviewer *.tgz,*.tar.gz tar -tzf %c |
fileviewer *.tgz,*.tar.gz tar -tzf %c |
| 227 |
258 |
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c |
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c |
|
259 |
|
fileviewer *.tar.txz,*.txz xz --list %c |
| 228 |
260 |
|
|
| 229 |
|
" Rar2FsMount |
|
|
261 |
|
" Rar2FsMount and rar archives |
| 230 |
262 |
filetype *.rar |
filetype *.rar |
| 231 |
263 |
\ {Mount with rar2fs} |
\ {Mount with rar2fs} |
| 232 |
264 |
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR, |
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR, |
|
265 |
|
fileviewer *.rar unrar v %c |
| 233 |
266 |
|
|
| 234 |
267 |
" IsoMount |
" IsoMount |
| 235 |
268 |
filetype *.iso |
filetype *.iso |
| |
| ... |
... |
filetype *.ftp |
| 246 |
279 |
\ {Mount with curlftpfs} |
\ {Mount with curlftpfs} |
| 247 |
280 |
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR, |
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR, |
| 248 |
281 |
|
|
| 249 |
|
" Fuse7z |
|
|
282 |
|
" Fuse7z and 7z archives |
| 250 |
283 |
filetype *.7z |
filetype *.7z |
| 251 |
284 |
\ {Mount with fuse-7z} |
\ {Mount with fuse-7z} |
| 252 |
285 |
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR, |
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR, |
|
286 |
|
fileviewer *.7z 7z l %c |
| 253 |
287 |
|
|
| 254 |
288 |
" Office files |
" Office files |
| 255 |
|
filextype *.doc,*.docx,*.xls,*.xlsx libreoffice %f & |
|
| 256 |
|
fileview *.docx, docx2txt.pl %f - |
|
|
289 |
|
filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f & |
|
290 |
|
fileviewer *.doc catdoc %c |
|
291 |
|
fileviewer *.docx, docx2txt.pl %f - |
|
292 |
|
|
|
293 |
|
" TuDu files |
|
294 |
|
filetype *.tudu tudu -f %c |
| 257 |
295 |
|
|
| 258 |
296 |
" Qt projects |
" Qt projects |
| 259 |
297 |
filextype *.pro qtcreator %f & |
filextype *.pro qtcreator %f & |
| |
| ... |
... |
filextype *.pro qtcreator %f & |
| 262 |
300 |
filextype */ |
filextype */ |
| 263 |
301 |
\ {View in thunar} |
\ {View in thunar} |
| 264 |
302 |
\ Thunar %f &, |
\ Thunar %f &, |
| 265 |
|
fileview .*/,*/ tree %f |
|
|
303 |
|
fileviewer .*/,*/ tree %f |
|
304 |
|
|
|
305 |
|
" Syntax highlighting in preview |
|
306 |
|
" |
|
307 |
|
" Explicitly set highlight type for some extensions |
|
308 |
|
" |
|
309 |
|
" 256-color terminal |
|
310 |
|
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c |
|
311 |
|
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c |
|
312 |
|
" |
|
313 |
|
" 16-color terminal |
|
314 |
|
" fileviewer *.c,*.h highlight -O ansi -s dante %c |
|
315 |
|
" |
|
316 |
|
" Or leave it for automatic detection |
|
317 |
|
" |
|
318 |
|
" fileviewer * pygmentize -O style=monokai -f console256 -g |
|
319 |
|
|
|
320 |
|
" Displaying pictures in terminal |
|
321 |
|
" |
|
322 |
|
" fileviewer *.jpg,*.png shellpic %c |
| 266 |
323 |
|
|
| 267 |
324 |
" Open all other files with default system programs (you can also remove all |
" Open all other files with default system programs (you can also remove all |
| 268 |
325 |
" :file[x]type commands above to ensure they don't interfere with system-wide |
" :file[x]type commands above to ensure they don't interfere with system-wide |