"------------------------------------------------------------------------------ source /home/michal/.config/vifm/favicons.vifm set vicmd=nvim set syscalls set trash " This is how many directories to store in the directory history. set history=100 " Automatically resolve symbolic links on l or Enter. set nofollowlinks " With this option turned on you can run partially entered commands with " unambiguous beginning using :! (e.g. :!Te instead of :!Terminal or :!Te). " Natural sort of (version) numbers within text. set sortnumbers set sort+=iname " Maximum number of changes that can be undone. set undolevels=100 set vimhelp set norunexec colorscheme gruvbox set timefmt=%Y-%m-%d\ %H:%M set wildmenu set wildstyle=bar set suggestoptions=normal,visual,view,otherpane,keys,marks,registers set ignorecase set hlsearch set incsearch set scrolloff=4 " Don't do too many requests to slow file systems if !has('win') set slowfs=curlftpfs endif set statusline=" %T%= %A %8u:%-7g Free Space:%a %20d " " ------------------------------------------------------------------------------ " :mark mark /full/directory/path [filename] mark b ~/bin/ mark h ~/ " ------------------------------------------------------------------------------ " :com[mand][!] command_name action " The following macros can be used in a command " %a is replaced with the user arguments. " %c the current file under the cursor. " %C the current file under the cursor in the other directory. " %f the current selected file, or files. " %F the current selected file, or files in the other directory. " %b same as %f %F. " %d the current directory name. " %D the other window directory name. " %m run the command in a menu window 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! link ln -s %d/%f %D command! reload :write | restart full command! wlcopy wl-copy < %f command! pcman pcmanfm & command! du du -sh %f %S command! allp imv * command! fallp fbv * command! allm mpv * command! fallm mpv -vo drm * " ------------------------------------------------------------------------------ " Pdf filextype {*.pdf}, foxitreader fileviewer {*.pdf}, pdftotext -nopgbrk %c - " PostScript filextype {*.ps,*.eps,*.ps.gz}, \ {View in zathura} \ zathura %f, \ {View in gv} \ gv %c %i &, " Djvu filextype {*.djvu}, \ {View in zathura} \ zathura %f, \ {View in apvlv} \ foxitreader %f, " Audio filetype {*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus}, \