set fastrun set fusehome=/tmp/vifm_FUSE set history=100 set ignorecase set incsearch set nofollowlinks set nohlsearch set noiec set norunexec set novimhelp set relativenumber set scrolloff=4 set smartcase set sortnumbers set timefmt=%m/%d\ %H:%M set trash set undolevels=100 set vicmd=$EDITOR set wildmenu set statusline=" %t%= %A %10u:%-7g %15s %20d " command! df df -h %m 2> /dev/null command! diff vim -d %f %F command! zip zip -r %f.zip %f command! run !! ./%f command! make !!make %a command! mkcd :mkdir %a | cd %a command! vgrep vim "+grep %a" command! reload :write | restart command link ln -s -r %d/%f %D filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c fileviewer *.pdf pdftotext -nopgbrk %c - filextype *.ps,*.eps,*.ps.gz \ {View in zathura} \ zathura %f, \ {View in gv} \ gv %c %i &, filextype *.djvu \ {View in zathura} \ zathura %f, \ {View in apvlv} \ apvlv %f, filetype *.wav,*.mp3,*.flac,*.ogg,*.m4a,*.wma,*.ape,*.ac3 \ mpv %f, \ {Play using ffplay} \ ffplay -nodisp %c, \ {Play using MPlayer} \ mplayer %f, \ ffplay %c, fileviewer *.mp3 mp3info fileviewer *.flac soxi filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.vob,*.flv,*.m2v,*.mov,*.webm,*.ts,*.m4v \ {View using vlc} \ vlc %c, \ {View using ffplay} \ ffplay -fs %c, \ {View using Dragon} \ dragon %f, \ {View using mplayer} \ mplayer %f, fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.vob,*.flv,*.m2v,*.mov,*.webm,*.ts,*.m4v \ ffprobe -pretty %c 2>&1 filextype *.html,*.htm \ {Open with uzbl} \ qutebrowser %f %i &, \ {Open with dwb} \ dwb %f %i &, \ {Open with firefox} \ firefox %f &, filetype *.html,*.htm links, lynx filetype *.o nm %f | less filetype *.[1-8] man ./%c fileviewer *.[1-8] man ./%c | col -b filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm \ {View in feh} \ feh %d --scale-down --start-at %d/%c 2>/dev/null &, \ {View in sxiv} \ sxiv, \ {View in gpicview} \ gpicview %c, \ {View in shotwell} \ shotwell, fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm convert -identify %f -verbose /dev/null filetype *.md5 \ {Check MD5 hash sum} \ md5sum -c %f, filetype *.asc \ {Check signature} \ !!gpg --verify %c, filetype *.geo, *.msh, *.pos \ {Open in gmsh} \ gmsh %d, filetype *.exe wine %f filetype *.torrent ktorrent %f & fileviewer *.torrent dumptorrent -v %c filetype *.zip,*.jar,*.war,*.ear,*.oxt \ {Mount with fuse-zip} \ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR, \ {View contents} \ zip -sf %c | less, \ {Extract here} \ tar -xf %c, fileviewer *.zip,*.jar,*.war,*.ear,*.oxt zip -sf %c filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz \ {Mount with archivemount} \ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR, fileviewer *.tgz,*.tar.gz tar -tzf %c fileviewer *.tar.bz2,*.tbz2 tar -tjf %c fileviewer *.tar.txz,*.txz xz --list %c filetype *.rar \ {Mount with rar2fs} \ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR, fileviewer *.rar unrar v %c filetype *.iso \ {Mount with fuseiso} \ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR, filetype *.ssh \ {Mount with sshfs} \ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR, filetype *.ftp \ {Mount with curlftpfs} \ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR, filetype *.7z \ {Mount with fuse-7z} \ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR, fileviewer *.7z 7z l %c filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f & fileviewer *.doc catdoc %c fileviewer *.docx, docx2txt.pl %f - filetype *.tudu tudu -f %c filextype *.pro qtcreator %f & filextype */ \ {View in thunar} \ Thunar %f &, set vifminfo=dhistory,savedirs,chistory,state,tui,shistory, \phistory,fhistory,dirstack,registers,bookmarks,bmarks nnoremap s :shell nnoremap S :sort nnoremap w :view vnoremap w :viewgv nnoremap o :!gvim --remote-tab-silent %f nnoremap O :!gvim %f nnoremap gb :file &l nnoremap yd :!echo %d | xclip %i nnoremap yf :!echo %c:p | xclip %i nnoremap I cw nnoremap cc cw nnoremap A cw nnoremap ,t :!xterm & nnoremap ,c :write | execute ':!vim $MYVIFMRC' | restart nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC & nnoremap ,w :set wrap! nnoremap :!less %f nnoremap :edit nnoremap :copy nnoremap :move nnoremap :mkdir nnoremap :delete mark b ~/bin/ mark h ~/