diff --git a/etc/soft/vifm/commands b/etc/soft/vifm/commands index a782a1e..a435424 100644 --- a/etc/soft/vifm/commands +++ b/etc/soft/vifm/commands @@ -2,7 +2,7 @@ command! Q :execute '!echo %d > ~/.vifm/lastdir' | quit command df dfc -t ext4,fuseblk -w %m 2> /dev/null -command dus noc dus %d/* %m +command dus dus %d/* %q command dmesg dmesg %m " TMSU @@ -30,7 +30,7 @@ command ext ext %f command diff vimdiff %f %F command run !! ./%f -command vim !vim %a +command vim !vim %f command git !!git %a command cal cal -y %m diff --git a/etc/soft/vifm/filetypes b/etc/soft/vifm/filetypes index 26f9eb0..8829156 100644 --- a/etc/soft/vifm/filetypes +++ b/etc/soft/vifm/filetypes @@ -8,6 +8,9 @@ fileviewer *.odt odt2txt %f fileviewer *.rtf catdoc %f fileviewer *.fb2,*.fb2.zip fb2 %f +" Монтирование ssh +filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR + " Бинарные файлы fileviewer *.bin,*.dat file %f fileviewer *.so,*.so.* file %f @@ -21,8 +24,7 @@ filetype *.txt vim %f " img filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif viewnior %c filextype *.svg sensible-browser %f & -" fileviewer *.jpg imgv %px %py %pw %ph %c -" fileviewer *.jpg lsi %f +fileviewer *.jpg,*.png lsimg %f %q %pc " audio filextype *.mp3,*.wav,*.flac,*.ogg,*.m4a vlc %f & @@ -46,11 +48,12 @@ fileviewer *.pdf pdftotext -nopgbrk %f - " djvu filextype *.djvu + \ zathura %f &, \ qpdfview %f &, \ djview %f & filetype *.djvu apvlv %f & -" ebook +" ebooks filextype *.fb2,*.mobi,*.epub,*.chm,*.fb2.zip pybr %f & " web-страницы diff --git a/etc/soft/vifm/vifmrc b/etc/soft/vifm/vifmrc index 4a09a86..840711c 100644 --- a/etc/soft/vifm/vifmrc +++ b/etc/soft/vifm/vifmrc @@ -18,7 +18,7 @@ set incsearch set nowrap set timefmt="%d.%m.%y %H:%M" -set statusline=" %t%= %A %10u:%-7g %15s %20d " +set statusline=" %t %T%= %A %10u:%-7g %15s %20d [%a] %D " source ~/.vifm/marks source ~/.vifm/filetypes